CN117835009A - Watermark image generation method and electronic equipment - Google Patents

Watermark image generation method and electronic equipment Download PDF

Info

Publication number
CN117835009A
CN117835009A CN202311790098.0A CN202311790098A CN117835009A CN 117835009 A CN117835009 A CN 117835009A CN 202311790098 A CN202311790098 A CN 202311790098A CN 117835009 A CN117835009 A CN 117835009A
Authority
CN
China
Prior art keywords
image
watermark
target
basic
vector
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.)
Pending
Application number
CN202311790098.0A
Other languages
Chinese (zh)
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202311790098.0A priority Critical patent/CN117835009A/en
Publication of CN117835009A publication Critical patent/CN117835009A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the application provides a watermark image generation method and electronic equipment, and relates to the technical field of video recording. Acquiring watermark characters determined based on user instructions; wherein the user instruction includes a target transparency; generating a vector diagram of watermark characters; and converting the vector image into a basic watermark image with the transparency being the target transparency. By applying the method provided by the embodiment of the application, the watermark image which is suitable for the requirement of watermark display transparency can be generated under the condition that the edge saw tooth of the watermark character is prevented from influencing the image display effect.

Description

Watermark image generation method and electronic equipment
Technical Field
The present disclosure relates to the field of video recording technologies, and in particular, to a watermark image generating method and an electronic device.
Background
The image acquisition device may perform image acquisition on the designated area and store the acquired image. The image acquisition device may be instructed to output the image in order to facilitate subsequent processing of the image stored by the image acquisition device. For example, the NVR (Network Video Recorder ) is instructed to transfer the collected video data to a preset hard disk for permanent storage, or to display on a preset display window, or the like. In general, images or videos stored by an image acquisition device may be referred to as video recordings.
Because of the display requirement, watermark characters can be superimposed in the video output by the image acquisition equipment, so that each frame of video picture displayed comprises the watermark characters when the video is displayed every time later; for example, the time and place of acquisition of the video may be superimposed as watermark characters in the video derived from the NVR, so that each frame of picture played will have the watermark characters displayed in each subsequent play of the video.
However, when a video on which watermark characters are superimposed is displayed, the image display effect may be affected by the jaggy of the edges of the watermark characters; based on this, there is a need for a watermark image generation method that generates a watermark image that is suitable for the transparency requirement of watermark display while avoiding the influence of the edge jaggy feeling of watermark characters on the image display effect.
Disclosure of Invention
An object of the embodiments of the present application is to provide a watermark image generating method and an electronic device, so as to generate a watermark image adapted to a watermark display transparency requirement under a condition that an edge jaggy feel of watermark characters is prevented from affecting an image display effect.
The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a watermark image generation method, where the method includes:
Acquiring watermark characters determined based on user instructions; wherein the user instruction includes a target transparency;
generating a vector diagram of the watermark characters;
and converting the vector image into a basic watermark image with the transparency being the target transparency.
Optionally, in a specific implementation manner, the acquiring the watermark character determined based on the user instruction includes:
when a user instruction is received, determining a user identification of a user sending the user instruction and a current system time for receiving the user instruction, and determining the user identification and the current system time as watermark characters;
or,
and acquiring watermark characters carried in the user instruction.
Optionally, in a specific implementation manner, the vector diagram includes: gray value of each pixel point;
the converting the vector image into a basic watermark image with transparency being the target transparency comprises:
converting the vector image into an RGB image with the transparency being the target transparency, and taking the RGB image as a basic watermark image;
the RGB value of each pixel point in the basic watermark image is determined based on the gray value of the pixel point in the vector image.
Optionally, in a specific implementation manner, the generating the vector diagram of the watermark character includes:
and generating a vector diagram of the watermark characters by using a freetype word stock engine.
Optionally, in a specific implementation manner, before generating the vector diagram of the watermark character, the method further includes:
calculating the target size of a storage space occupied by a vector diagram of the watermark character to be generated based on the character format of the watermark character and the character library parameters of the freetype character library engine, and applying for the target storage space with the size being the target size in a preset storage area; wherein the character format includes a character size, a number of characters, and a rotation angle;
the method further comprises the steps of:
after the vector image is generated, the vector image is stored in the target storage space.
Optionally, in a specific implementation manner, the method further includes:
determining the resolution of a target watermark image to be generated;
determining the position areas of a plurality of basic watermark images in an original image for generating the target watermark image based on the resolution;
superposing the basic watermark image in the original image according to the position area to obtain an initial watermark image;
And based on the resolution, intercepting the target watermark image in the initial watermark image.
Optionally, in a specific implementation manner, the determining, based on the resolution, a location area where the plurality of base watermark images are located in an original image used for generating the target watermark image includes:
determining a preset size corresponding to the resolution ratio, and calculating the product of a preset multiple and the preset size to be used as the original size of an original image for generating the target watermark image; wherein the preset multiple is not less than 1;
and determining the position areas of a plurality of basic watermark images in the original image based on the relation between the original size and the basic size of the basic watermark image.
Optionally, in a specific implementation manner, the capturing the target watermark image in the initial watermark image based on the resolution includes:
if the original image and the target watermark image have the same size, determining the initial watermark image as the target watermark image;
and if the original size of the original image is larger than the size of the target watermark image, capturing an image with a preset size corresponding to the resolution ratio from the original watermark image to serve as the target watermark image.
Optionally, in a specific implementation manner, the method further includes;
acquiring a picture or a video frame derived from preset storage equipment as an image to be superimposed for watermark superimposition;
decoding the image to be superimposed to obtain decoded image data to be superimposed, and obtaining canvas information in the image data to be superimposed;
and replacing the image information of the area for overlapping the basic watermark image in the canvas information with the image information of the basic watermark image to obtain target image data overlapped with the basic watermark image.
In a second aspect, an embodiment of the present application provides a watermark image generation apparatus, including:
the watermark character acquisition module is used for acquiring watermark characters determined based on the user instruction; wherein the user instruction includes a target transparency;
the image generation module is used for generating a vector diagram of the watermark characters;
and the basic image generation module is used for converting the vector image into a basic watermark image with the transparency being the target transparency.
Optionally, in a specific implementation manner, the watermark character acquisition module is specifically configured to:
When a user instruction is received, determining a user identification of a user sending the user instruction and a current system time for receiving the user instruction, and determining the user identification and the current system time as watermark characters;
or,
and acquiring watermark characters carried in the user instruction.
Optionally, in a specific implementation manner, the vector diagram includes: gray value of each pixel point;
the basic image generation module is specifically configured to:
converting the vector image into an RGB image with the transparency being the target transparency, and taking the RGB image as a basic watermark image;
the RGB value of each pixel point in the basic watermark image is determined based on the gray value of the pixel point in the vector image.
Optionally, in a specific implementation manner, the image generating module is specifically configured to:
and generating a vector diagram of the watermark characters by using a freetype word stock engine.
Optionally, in a specific implementation manner, the apparatus further includes:
the storage space application module is used for calculating the target size of the storage space occupied by the vector diagram of the watermark character to be generated based on the character format of the watermark character and the font parameters of the freetype font engine before generating the vector diagram of the watermark character, and applying for the target storage space with the size of the target size in a preset storage area; wherein the character format includes a character size, a number of characters, and a rotation angle;
The apparatus further comprises:
and the image storage module is used for storing the vector image in the target storage space after the vector image is generated.
Optionally, in a specific implementation manner, the apparatus further includes:
a resolution determining module for determining the resolution of the target watermark image to be generated;
the position determining module is used for determining the position areas of a plurality of basic watermark images in the original image for generating the target watermark image based on the resolution;
the image superposition module is used for superposing the basic watermark image in the original image according to the position area to obtain an initial watermark image;
and the image interception module is used for intercepting the target watermark image in the initial watermark image based on the resolution.
Optionally, in a specific implementation manner, the location determining module is specifically configured to:
determining a preset size corresponding to the resolution ratio, and calculating the product of a preset multiple and the preset size to be used as the original size of an original image for generating the target watermark image; wherein the preset multiple is not less than 1;
and determining the position areas of a plurality of basic watermark images in the original image based on the relation between the original size and the basic size of the basic watermark image.
Optionally, in a specific implementation manner, the image capturing module is specifically configured to:
if the original image and the target watermark image have the same size, determining the initial watermark image as the target watermark image;
and if the original size of the original image is larger than the size of the target watermark image, capturing an image with a preset size corresponding to the resolution ratio from the original watermark image to serve as the target watermark image.
Optionally, in a specific implementation manner, the apparatus further includes;
the image deriving module is used for obtaining the picture or video frame derived from the preset storage equipment and taking the picture or video frame as an image to be superimposed for watermark superimposition;
the canvas information acquisition module is used for decoding the image to be superimposed to obtain decoded image data to be superimposed and acquiring canvas information in the image data to be superimposed;
and the image information replacing module is used for replacing the image information of the area for overlapping the basic watermark image in the canvas information with the image information of the basic watermark image to obtain target image data overlapped with the basic watermark image.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of any method embodiment when executing the program stored in the memory.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having a computer program stored therein, which when executed by a processor, implements the steps of any of the method embodiments described above.
In a fifth aspect, the present application embodiment also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of any of the method embodiments described above.
The beneficial effects of the embodiment of the application are that:
the above can be seen that, by applying the scheme provided by the embodiment of the present application, the watermark characters determined based on the user instruction may be obtained first; wherein the user instruction includes a target transparency; then, generating a vector diagram of watermark characters; and (3) entering, converting the vector image into a basic watermark image with the transparency being the target transparency.
Based on the above, by applying the scheme provided by the embodiment of the application, the watermark characters are converted into the vector images, and the basic watermark images are obtained by utilizing the vector images, so that the situation that the image display effect is influenced due to the fact that the edges of the watermark characters are in a saw-tooth shape is avoided; in addition, the basic watermark image is generated based on the watermark characters indicated by the user and the target transparency, so that the basic watermark image can be adaptively updated when the watermark characters and/or the image transparency indicated by the user are required to be updated, and the generated basic watermark image always meets the requirements of the user.
Of course, not all of the above-described advantages need be achieved simultaneously in practicing any one of the products or methods of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will briefly introduce the drawings that are required to be used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other embodiments may also be obtained according to these drawings to those skilled in the art.
Fig. 1 is a schematic flow chart of a watermark image generation method according to an embodiment of the present application;
FIG. 2 (a) is a schematic diagram of watermark characters provided in an embodiment of the present application;
FIG. 2 (b) is a schematic diagram of a vector diagram provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of pixel values of each pixel in the ARGB8888 format provided in an embodiment of the present application;
fig. 4 is a flowchart of another watermark image generation method according to an embodiment of the present application;
fig. 5 is an exemplary diagram of a target watermark image provided in an embodiment of the present application;
fig. 6 is a flowchart of another watermark image generation example provided in an embodiment of the present application;
fig. 7 is a schematic diagram of another watermark image generation example provided in an embodiment of the present application;
Fig. 8 is a schematic diagram of another watermark image generation example provided in an embodiment of the present application;
fig. 9 is a schematic diagram of another watermark image generation example provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of a watermark image generating apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. Based on the embodiments herein, a person of ordinary skill in the art would be able to obtain all other embodiments based on the disclosure herein, which are within the scope of the disclosure herein.
When displaying video superimposed with watermark characters, the edges of the watermark characters may be jagged to affect the image display effect; based on this, there is a need for a watermark image generation method that generates a watermark image that is suitable for the transparency requirement of watermark display while avoiding the influence of the edge jaggy feeling of watermark characters on the image display effect.
In order to solve the technical problems, embodiments of the present application provide a watermark image generation method.
The method can be suitable for various application scenes needing to generate watermark images, for example, before the watermark is superimposed on the factory monitoring video derived from NVR, generating watermark images for watermark superimposition; when the watermark character is acquired, generating a watermark image corresponding to the watermark character, and the like.
In addition, the method can be applied to various electronic devices capable of performing data processing, such as mobile phones, notebook computers, desktop computers and the like; the electronic device may be an independent electronic device or a device cluster including a plurality of electronic devices, and may be hereinafter referred to as an electronic device.
Based on this, the embodiment of the present application does not specifically limit the application scenario and execution subject of the method.
The watermark image generation method provided by the embodiment of the application can comprise the following steps:
acquiring watermark characters determined based on user instructions; wherein the user instruction includes a target transparency;
generating a vector diagram of the watermark characters;
and converting the vector image into a basic watermark image with the transparency being the target transparency.
The above can be seen that, by applying the scheme provided by the embodiment of the present application, the watermark characters determined based on the user instruction may be obtained first; wherein the user instruction includes a target transparency; then, generating a vector diagram of watermark characters; and (3) entering, converting the vector image into a basic watermark image with the transparency being the target transparency.
Based on the above, by applying the scheme provided by the embodiment of the application, the watermark characters are converted into the vector images, and the basic watermark images are obtained by utilizing the vector images, so that the situation that the image display effect is influenced due to the fact that the edges of the watermark characters are in a saw-tooth shape is avoided; in addition, the basic watermark image is generated based on the watermark characters indicated by the user and the target transparency, so that the basic watermark image can be adaptively updated when the watermark characters and/or the image transparency indicated by the user are required to be updated, and the generated basic watermark image always meets the requirements of the user.
Next, a watermark image generation method provided in the embodiments of the present application will be specifically described with reference to the accompanying drawings.
Fig. 1 is a flowchart of a watermark image generation method provided in an embodiment of the present application, as shown in fig. 1, the method may include the following steps S101 to S103.
S101: acquiring watermark characters determined based on user instructions;
wherein the user instruction includes a target transparency;
when an image is displayed, if the displayed image is expected to include a watermark, the watermark image can be superimposed on the image, or the watermark image can be superimposed on a display interface. Whereas before the watermark image is superimposed, it is often possible to first generate a watermark image for watermark superimposition.
Based on this, when generating a watermark image, watermark characters determined based on a user instruction may be acquired first. Wherein the user instruction may include a target transparency.
Optionally, in a specific implementation manner, step S101 may include step 11:
step 11: and acquiring watermark characters carried in the user instruction.
In this specific implementation manner, the user may input a watermark image generation instruction carrying the watermark character and the target transparency, so that the electronic device may acquire the watermark character and the target transparency.
Optionally, the electronic device stores a preset character and a preset transparency. When the watermark image is generated, the electronic device can display the preset characters and the preset transparency stored in the electronic device on the display device, so that a user can conveniently select the preset characters and the preset transparency displayed by the electronic device and send a user instruction comprising the watermark characters and the target transparency to the electronic device, and therefore the electronic device can receive the user instruction and acquire the watermark characters and the target transparency determined based on the user instruction.
For example, the electronic device may output a preset character. The user may select a watermark character for generating the watermark image and send a user instruction to the electronic device by clicking on the watermark character. The electronic device obtains watermark characters carried in the user instruction, and then outputs an image format of a watermark image which is expected to be generated. When the user selects the ARGB8888 format, since the preset transparency range corresponding to the format is [0, 255], the electronic device may output the preset transparency range, so that the user can determine the target transparency of the watermark image desired to be generated within the preset transparency range. Further, the user may determine the target transparency 100 in the preset transparency range according to the display requirement, and click the target transparency to send a user instruction to the electronic device. The electronic device may obtain the target transparency carried in the user instruction.
Optionally, the electronic device may be provided with preset information about transparency of the image, and when obtaining the target transparency carried by the user instruction, the electronic device may update the preset information to obtain current information about transparency of the image, and generate, using the current information about transparency of the image, a basic watermark image having transparency meeting the target transparency indicated by the current information.
In addition, the watermark character may be a character generated in real time by the electronic device for generating the watermark image. Optionally, in a specific implementation manner, step S101 may include step 12:
step 12: when a user instruction is received, determining a user identification of a user sending the user instruction and a current system time of the user instruction, and determining the user identification and the current system time as watermark characters.
In this particular implementation, when it is desired to generate the watermark image, the user may instruct the electronic device to generate a user instruction for the watermark image. In this way, the electronic device may determine the user identification of the user sending the user instruction and determine the current system time at which the user instruction was received, after which the user identification and the current system time are determined as watermark characters for generating the watermark image. Wherein, the user name includes: user names set by users or user names distributed to users by electronic equipment.
For example, as shown in fig. 2 (a), the electronic device may be mounted with an APP (Application) and a DSP (Digital Signal Processing, digital signal processor). The APP may, upon receiving a user instruction, issue a user name of the user that sent the user instruction to the DSP. Furthermore, the DSP may receive the user name issued by the APP, acquire the system time for receiving the user name, and then splice the user name and the system time, and use the splice result as a watermark character for generating the watermark image.
S102: generating a vector diagram of watermark characters;
in general, when watermark characters are displayed, edges of the watermark characters may be jagged, so that in order to avoid affecting a display effect of a generated watermark image due to jaggies of the watermark characters in the image, a display effect of the display image on which the watermark image is superimposed is affected. When the watermark character is acquired, a vector diagram of the watermark character can be generated, and then, a basic watermark image is generated by using the vector diagram.
For example, if the watermark character is admin 2022-8-26:15:44:00, a vector diagram of the watermark character may be generated, resulting in a vector diagram as shown in fig. 2 (b).
Optionally, in a specific implementation manner, the generating a vector diagram of watermark characters in step S102 may include the following step 21:
step 21: and generating a vector diagram of watermark characters by using the freetype word stock engine.
In this particular implementation, in determining watermark characters for generating a watermark image, a freetype word stock engine may be utilized to generate a vector image of the watermark characters.
Wherein, when the above-mentioned freetype word stock engine is utilized to generate the vector diagram of the watermark character, the relevant parameters of the vector diagram of the watermark character, such as the font size, the font type and the like of the watermark character in the vector diagram, can be set.
Alternatively, the relevant parameters of the vector diagram about the watermark character may be input into the freetype word stock engine, so that the freetype word stock engine may generate the vector diagram about the watermark character according to the relevant parameters, and for example, the target font and the target font size about the watermark character may be input into the freetype word stock engine, so that the font of the watermark character in the generated vector diagram is the target font and the font size of the watermark character is the target font size.
Further, in generating a vector image of watermark characters using the freetype word stock engine, a storage space for storing the generated vector image may be determined within a preset storage area before generating the vector image.
Optionally, in a specific implementation manner, before generating the vector diagram of the watermark character in step S102, the watermark image generating method provided in the embodiment of the present application may further include the following step 31:
step 31: calculating the target size of a storage space occupied by a vector diagram of the watermark character to be generated based on the character format of the watermark character and the character library parameters of the freetype character library engine, and applying for the target storage space with the size being the target size in a preset storage area; wherein the character format includes character size, number of characters, and rotation angle;
correspondingly, the watermark image generation method provided by the embodiment of the application may further include the following step 32:
step 32: after the vector image is generated, the vector image is stored in the target storage space.
In this specific implementation manner, before the freetype word stock engine generates the vector image of the watermark character, the target size of the storage space occupied by the vector image of the watermark character to be generated may be calculated first based on the character format of the watermark character and the word stock parameters of the freetype word stock engine, and then the target storage space with the size being the target size may be applied in the preset storage area.
The character format includes character size, number of characters and rotation angle. The method may include determining a designated size of the watermark character satisfying the character format according to a character size, a number of characters, and a rotation angle of the watermark character, and then determining a target size of a storage space required to be occupied by a vector image corresponding to the watermark character generated by the watermark character library engine according to a library parameter of the watermark character library engine and the designated size, and applying a storage space having a size of the target size in a preset storage area as a target storage space for storing the vector image.
Further, after the target storage space is determined, when the freetype word stock engine generates a vector image of the watermark character, the vector image may be stored in the target storage space. In this way, when the vector image is used later, the vector image can be directly read without repeating the generation step of the vector image again, thereby saving the calculation force resources.
S103: and converting the vector image into a basic watermark image with the transparency being the target transparency.
Since the generated vector diagram is a gray scale diagram, the main color of the watermark character has larger conflict with the color of the image ground color, thereby highlighting the jaggy feeling of the character edge of the watermark character.
Based on this, after generating the vector image, the electronic device may convert the vector image into a base watermark image having transparency as the target transparency. The watermark character has certain transparency, so that the color of a main body of the watermark character in the basic watermark image is softer, the color conflict between the color of the main body and the color of the background color of the image is weakened, the jaggy feeling of the character edge is further reduced, and the smooth transition between the character edge of the watermark character and the image to be superimposed is realized.
The image types of the basic watermark image may be set according to actual needs, for example, may be a gray image, an RGB (RGB color mode) image in the format of ARGB1555, an RGB image in the format of ARGB8888, etc., which are all reasonable, and are not specifically limited in the embodiment of the present application.
Optionally, in a specific implementation, the vector diagram includes: the step S103 may include the following step 41:
step 41: converting the vector image into an RGB image with the transparency being the target transparency, and taking the RGB image as a basic watermark image; wherein the RGB value of each pixel in the base watermark image is determined based on the gray value of the pixel in the vector image.
In this particular implementation, the generated vector image may include a gray value for each pixel point. The color of the RGB image is rich, so that the color conflict between the character edge of the watermark character and the ground color of the image can be weakened, and further, the jaggy feeling of the character edge is weakened, so that the character edge and the ground color of the image are smoothly transited. Then, after generating the vector image of the watermark character, the vector image may be converted into an RGB image having the transparency as the target transparency by using the gray value of each pixel, and the converted RGB image may be used as the basic watermark image.
When the conversion is carried out, for each pixel point of the RGB image to be generated, an R (Red), a G (Green) and a B (Blue) value of the pixel point can be determined according to the gray value of the pixel point in the vector diagram, and the R, G and B values of the pixel point are respectively assigned; and, the transparency a (Alpha, transparency) of the pixel point is set as the target transparency.
As illustrated in fig. 3, the RGB image to be generated is an RGB image of the ARGB8888 format in which the pixel parameter of each pixel is a 32-bit character, wherein the first 8 bits correspond to the transparency a, the 9 th to 16 th bits correspond to the R value, the 17 th to 24 th bits correspond to the G value, and the last 8 bits correspond to the B value. When converting the vector image into an RGB image, the gray value of each pixel point in the vector image stored in a bitmap buffer (buffer register) of the freetype word stock engine may be acquired. And then, converting the vector image into an RGB image with the transparency being the target transparency by utilizing the gray value of each pixel point in the vector image and the target transparency.
Further, in the basic watermark image, the RGB value of each pixel is determined based on the gradation value of the pixel in the vector diagram, and the transparency of each pixel is the above-described target transparency.
Alternatively, if the vector image is already stored in the target storage space after the vector image is generated, the vector image may be first read in the target storage space and converted into an RGB image having transparency as the target transparency.
Optionally, when the user wants to update the watermark characters and/or the target transparency of the generated basic watermark image, an update instruction about the basic watermark image carrying the new watermark characters and/or the new target transparency may be sent to the electronic device, so that the electronic device may receive the update instruction and update the generated basic watermark image by using the new watermark characters and/or the new target transparency carried by the update instruction.
The above can be seen that by applying the scheme provided by the embodiment of the application, the watermark characters are converted into the vector images, and the basic watermark images are obtained by utilizing the vector images, so that the situation that the image display effect is affected due to the fact that the edges of the watermark characters are in a saw-tooth shape is avoided; in addition, the basic watermark image is generated based on the watermark characters indicated by the user and the target transparency, so that the basic watermark image can be adaptively updated when the watermark characters and/or the image transparency indicated by the user are required to be updated, and the generated basic watermark image always meets the requirements of the user.
After the basic watermark image is generated, a target watermark image including a plurality of basic watermark images may also be generated, and then watermark superposition is performed using the target watermark image.
Optionally, in a specific implementation manner, as shown in fig. 4, a watermark image generating method provided in the embodiment of the present application may further include the following steps S104 to S107:
s104: determining the resolution of a target watermark image to be generated;
s105: determining a location area of the plurality of base watermark images in an original image used for generating the target watermark image based on the resolution;
s106: according to the position area, a basic watermark image is overlapped in the original image to obtain an initial watermark image;
s107: based on the resolution, a target watermark image is truncated in the initial watermark image.
In this specific implementation, after the base watermark image is obtained, a target watermark image including a plurality of base watermark images may also be generated. And the resolution of the target watermark image to be generated may be determined first, before the target watermark image is generated.
Optionally, the resolution indicated by the user instruction is obtained as the resolution of the target watermark image to be generated.
Optionally, the resolution of the image to be watermarked is determined as the resolution of the target watermark image to be generated. For example, when the image to be subjected to watermark superposition is a display interface, the resolution of the display interface is taken as the resolution of the target watermark image to be generated.
Optionally, the electronic device uses the preset resolution stored in itself regarding the resolution of the image as the resolution of the target watermark image to be generated.
After determining the resolution of the target watermark image to be generated, the location areas where the plurality of base watermark images are located in the original image used to generate the target watermark image may be determined based on the resolution.
Alternatively, a first correspondence between the resolution and the image arrangement may be pre-established, and the first correspondence may be stored in the electronic device. In this way, after determining the resolution of the target watermark image to be generated, the electronic device may find the image arrangement mode corresponding to the resolution in the first correspondence. And then, determining the position areas of the appointed number of basic watermark images indicated by the image arrangement mode in the original image for generating the target watermark image according to the image arrangement mode. The image arrangement mode may include: the superposition size of each basic watermark image, the number of basic watermark images, the arrangement form of a plurality of basic watermark images, the image interval of every two adjacent basic watermark images, and the like.
For example, the image arrangement manner may be: the inclination angle of each basic watermark image is 0, the image interval of two adjacent basic watermark images is 0.5 inch, and the arrangement form of a plurality of basic watermark images is arranged according to n x m.
For another example, the image arrangement method may be: the inclination angle of each basic watermark image is 45 degrees, a plurality of basic watermark images are arranged according to n x n, the image interval of adjacent basic watermark images is the width of one basic watermark image, and then the superposition size of each basic watermark image is obtained according to trigonometric function calculation.
The image arrangement mode may be a preset arrangement mode stored in the electronic device; or the arrangement mode specified by the user; this is reasonable, and is not particularly limited in the embodiments of the present application.
Optionally, the display interface of the electronic device may display operation options related to the arrangement mode, for example, a drop-down menu related to the arrangement mode, an input box and the like are displayed in the display interface, and the user may operate the operation options to send a notification message for indicating the image arrangement modes of the plurality of basic watermark images to the electronic device, and further, the electronic device may receive the notification message and determine the image arrangement modes of the plurality of basic watermark images.
The original image may be a blank image, or may be an image including other image contents, for example: it is reasonable that the original image is an image including a background pattern or the like, and is not particularly limited in the embodiment of the present application.
Alternatively, a second correspondence relationship between the resolution and the number of image stacks may be established in advance, and the second correspondence relationship may be stored in the electronic device. In this way, after determining the resolution of the target watermark image to be generated, the electronic device may find the number of image stacks corresponding to the resolution in the second correspondence. And then, determining the target arrangement mode of the plurality of basic watermark images overlapped by the images, and according to the target arrangement mode, positioning the position area of the plurality of basic watermark images overlapped by the images in the original image for generating the target watermark image.
And further, according to the position area, a plurality of basic watermark images are overlapped in the original image to obtain an initial watermark image overlapped with the plurality of basic watermark images, and according to the resolution, a target watermark image is intercepted in the initial watermark image.
Optionally, in a specific implementation manner, the step S105 may include the following steps 51-52:
Step 51: determining a preset size corresponding to the resolution ratio, and calculating the product of the preset multiple and the preset size to be used as the original size of an original image for generating the target watermark image; wherein the preset multiple is not less than 1;
step 52: and determining the position areas of the plurality of basic watermark images in the original image based on the relation between the original size and the basic size of the basic watermark image.
In this specific implementation manner, after determining the resolution of the target watermark image to be generated, a preset size corresponding to the resolution may be determined.
In order to generate the target watermark image, a third correspondence of resolution and image size may be established in advance and stored in the electronic device. In this way, after determining the resolution of the target watermark image to be generated, the electronic device may determine, in the third correspondence stored in itself, a preset size corresponding to the resolution.
Since the above-mentioned preset size is determined based on the resolution of the target watermark image to be generated, and in order to simulate the actual watermark effect, the original image used for generating the target watermark image may be used to intercept the target watermark image. Based on the above, the original size of the original image generated for generating the target watermark image should be not smaller than the image size of the target watermark image to be generated, i.e. the above-mentioned preset size, so as to avoid that the target watermark image cannot be used for watermark superposition due to undersize of the image of the generated target watermark image.
Based on this, the electronic device, after determining the preset size, may calculate the product of the preset multiple and the preset size as the original size of the original image used to generate the target watermark image; the preset multiple is not less than 1, and may be set according to actual needs, for example, may be 1.5, 2, and the like, which are all reasonable, and are not specifically limited in the embodiment of the present application.
Then, based on the relation between the original size and the basic size of the basic watermark image, the image arrangement mode of the basic watermark image overlapped in the original image can be determined, and the position areas of the basic watermark images in the original image can be determined. And then, superposing the basic watermark images in each position area to obtain an initial watermark image superposed with a plurality of basic watermark images.
For example, if the resolution of the target watermark image to be generated is 1920p×1080p (Pixel), the preset size corresponding to the resolution is 4 inches×6 inches. At a preset multiple of 1.5, the original size of the original image used to generate the target watermark image is 6 inches by 9 inches. Furthermore, the image arrangement mode of the basic watermark image in the original image can be calculated based on the relation between the original size and the basic size of the basic watermark image, namely, a plurality of reference watermark images are determined to be placed in each row according to the length in the original size and the basic length of the basic watermark image, and a plurality of rows are determined to be placed according to the width in the original size and the basic width of the basic watermark image. Further, it is determined that m×n reference watermark images are placed in the original image, and then, according to the image arrangement, the position area of each of the reference watermark images in the original image is calculated.
Optionally, in a specific implementation manner, step S107, based on the resolution, of capturing the target watermark image from the initial watermark image may include the following steps 61-62:
step 61: if the original image and the target watermark image have the same size, determining the initial watermark image as the target watermark image;
step 62: if the original size of the original image is larger than the size of the target watermark image, capturing an image with a preset size corresponding to the resolution ratio from the original watermark image to serve as the target watermark image.
In this specific implementation manner, after the original image used for generating the target watermark image is obtained, if the original image and the target watermark image have the same size, that is, a preset multiple is 1, the initial watermark image may be determined as the target watermark image.
If the original size of the original image is larger than the size of the target watermark image to be generated, that is, the preset multiple is larger than 1, an image with the preset size corresponding to the resolution ratio can be intercepted from the original watermark image to be used as the target watermark image.
Thus, after the initial watermark image with a plurality of basic watermark images superimposed thereon is generated, a desired size can be cut out from the initial watermark image according to the size of the target watermark image to be generated.
The watermark clipping process can be performed on the initial watermark image according to the preset size corresponding to the resolution of the target watermark image to be generated. In addition, an incomplete basic watermark image may exist at the edge of the obtained target watermark image, and further, when watermark superposition is performed by using the target watermark image, the edge of the obtained image may include a truncated basic watermark image, thereby realizing truncated display of the watermark image. Therefore, a more real watermark superposition effect can be realized, the watermark superposition blind area is reduced, and the watermark superposition effect is further improved.
Illustratively, as shown in fig. 5, 510 is a base watermark image and 520 is a display image to be watermarked. The preset size of the target watermark image to be generated is determined according to the resolution of the display image, and then the preset size is multiplied by 1.5 times to obtain the original size of the original image, and then a plurality of basic watermark images are superimposed in the original image to obtain the initial watermark image 530. Thereafter, in the initial watermark image 530, a target image area 540 having an image size of a preset size is truncated.
After the basic watermark image is generated, the basic watermark image can be utilized to carry out watermark superposition on the image to be subjected to watermark superposition.
Optionally, in a specific implementation manner, the watermark image generation method provided by the embodiment of the application may further include the following steps 71-73;
step 71: acquiring a picture or a video frame derived from preset storage equipment as an image to be superimposed for watermark superimposition;
step 72: decoding the image to be superimposed to obtain decoded image data to be superimposed, and obtaining canvas information in the image data to be superimposed;
step 73: and replacing the image information of the area for overlapping the basic watermark image in the canvas information with the image information of the basic watermark image to obtain target image data overlapped with the basic watermark image.
In this specific implementation, after the base watermark image is generated, the base watermark image may be used to watermark a picture or video frame derived from a preset storage device.
The electronic device may first acquire a picture or a video frame derived from a preset storage device as an image to be superimposed to be subjected to watermark superimposition. And then, decoding the image to be superimposed to obtain decoded image data to be superimposed, and obtaining canvas information in the image data to be superimposed.
Then, the electronic device can replace the image information of the region for superimposing the base watermark image in the canvas information with the image information of the base watermark image, so that the target image data superimposed with the base watermark image can be obtained.
In order to facilitate understanding of a watermark image generation method provided in an embodiment of the present application, the following description is made with reference to fig. 6 to 9.
As shown in fig. 6, the generation flow of the base watermark image may include the following steps S601 to S608:
s601: receiving a watermark image generation instruction;
s602: receiving watermark characters;
s603: refreshing a watermark processing thread;
s604: judging whether the watermark parameters are modified or not and whether the watermark parameters are reasonable or not; if yes, executing S605;
s605: superposing time to obtain watermark characters;
s606: the freetype word stock engine generates a vector diagram;
s607: converting the vector diagram into a bitmap, and assigning a value to each pixel point when traversing to the pixel point;
s608: a base watermark image is generated.
When a user wishes to generate a watermark image, a watermark image generation instruction carrying a target transparency and watermark characters for generating the watermark image to be generated may be transmitted to the electronic device. Thus, the electronic device can receive the watermark image generation instruction and receive the above specified character. Refreshing the watermark processing thread and judging whether the watermark parameters are modified or not; if yes, acquiring the system time, and superposing the appointed character and the system time to obtain the watermark character.
Thereafter, a vector diagram of watermark characters is generated by using a freetype word stock engine, and the vector diagram is converted into a bitmap. Each pixel point in the bitmap to be generated can be traversed, and when each pixel point is traversed, the value of the pixel point is assigned.
And then, according to the received target transparency and pixel value data of each pixel point in the vector diagram, carrying out assignment on the transparency and RGB value of each pixel point in a circulating way, and obtaining the basic watermark image with the transparency being the target transparency.
When a basic watermark image is generated, the interaction flow among the units is shown in figure 7, and when the APP receives a watermark image generation instruction carrying target transparency, the APP issues the watermark image generation instruction and a user name to the DSP. In this way, the DSP can receive the watermark image generation instruction and the user name, acquire the system time, and splice the user name and the system time to obtain the watermark character.
The DSP will then copy the characters to the freetype word stock engine. The freetype word stock engine receives the watermark characters, generates a vector diagram of the watermark characters, and sends the vector diagram to the DSP.
The DSP receives the vector image and converts the vector image into a base watermark image having a transparency that is the target transparency.
As shown in fig. 8, the generation flow of the base target image may include the following steps S801 to S808:
s801: receiving a watermark image generation instruction;
s802: judging whether the watermark generation process is started or not; if yes, executing S803;
s803: acquiring a basic watermark image;
s804: calculating an original size of an original image used for generating the target watermark image according to the resolution of the display image;
s805: calculating the position area of each basic watermark image in the original image;
s806: generating an initial watermark image;
s807: intercepting a target watermark image according to the resolution;
s808: refreshing the menu.
When the user wishes to generate a target watermark image using the base watermark image, a watermark image generation instruction may be sent to the electronic apparatus. Thus, the electronic equipment can receive the watermark image generation instruction and judge whether the watermark generation flow is started or not; if yes, the electronic device can acquire the basic watermark image.
Then, the electronic device may calculate a preset size of the target watermark image to be generated according to the resolution of the display image, and then calculate a product of the preset size and a preset multiple to obtain an original size of the original image used for generating the target watermark image. And calculating the position information of each basic watermark image in the original image. And then, sequentially superposing the plurality of reference watermark images in each position area, thereby obtaining an initial watermark image comprising a plurality of basic watermark images.
And then, according to the preset size corresponding to the resolution, intercepting a target watermark image from the initial watermark image, superposing the target watermark image on the display image, refreshing a menu, and obtaining the display image superposed with the watermark image.
When generating the target watermark image, the interaction flow among the units is shown in figure 9, and when receiving the watermark image generation instruction, the APP issues a basic watermark image to the DSP. In this way the DSP can receive the base watermark image.
Then, the DSP generates an initial watermark image comprising a plurality of basic watermark images by using the basic watermark images, intercepts a target watermark image from the initial watermark image according to the resolution of the display image, and updates canvas information of the display image by using image information of the target watermark image. Then, the display image superimposed with the target watermark image is sent to a VO (Output Unit) so that the VO displays the display image superimposed with the target watermark image.
Based on the same inventive concept, the embodiment of the present application further provides a watermark image generation device, corresponding to the watermark image generation method shown in fig. 1 provided in the embodiment of the present application.
Fig. 10 is a schematic structural diagram of a watermark image generation device according to an embodiment of the present application, and as shown in fig. 10, the device may include the following modules:
watermark character acquisition 1010 for acquiring watermark characters determined based on a user instruction; wherein the user instruction includes a target transparency;
an image generation module 1020 for generating a vector image of the watermark characters;
a base image generating module 1030 is configured to convert the vector image into a base watermark image with transparency being the target transparency.
The above can be seen that by applying the scheme provided by the embodiment of the application, the watermark characters are converted into the vector images, and the basic watermark images are obtained by utilizing the vector images, so that the situation that the image display effect is affected due to the fact that the edges of the watermark characters are in a saw-tooth shape is avoided; in addition, the basic watermark image is generated based on the watermark characters indicated by the user and the target transparency, so that the basic watermark image can be adaptively updated when the watermark characters and/or the image transparency indicated by the user are required to be updated, and the generated basic watermark image always meets the requirements of the user.
Optionally, in a specific implementation manner, the watermark character obtaining module 1010 is specifically configured to:
When a user instruction is received, determining a user identification of a user sending the user instruction and a current system time for receiving the user instruction, and determining the user identification and the current system time as watermark characters;
or,
and acquiring watermark characters carried in the user instruction.
Optionally, in a specific implementation manner, the vector diagram includes: gray value of each pixel point;
the base image generating module 1030 is specifically configured to:
converting the vector image into an RGB image with the transparency being the target transparency, and taking the RGB image as a basic watermark image;
the RGB value of each pixel point in the basic watermark image is determined based on the gray value of the pixel point in the vector image.
Optionally, in a specific implementation manner, the image generating module 1020 is specifically configured to:
and generating a vector diagram of the watermark characters by using a freetype word stock engine.
Optionally, in a specific implementation manner, the apparatus further includes:
the storage space application module is used for calculating the target size of the storage space occupied by the vector diagram of the watermark character to be generated based on the character format of the watermark character and the font parameters of the freetype font engine before generating the vector diagram of the watermark character, and applying for the target storage space with the size of the target size in a preset storage area; wherein the character format includes a character size, a number of characters, and a rotation angle;
The apparatus further comprises:
and the image storage module is used for storing the vector image in the target storage space after the vector image is generated.
Optionally, in a specific implementation manner, the apparatus further includes:
a resolution determining module for determining the resolution of the target watermark image to be generated;
the position determining module is used for determining the position areas of a plurality of basic watermark images in the original image for generating the target watermark image based on the resolution;
the image superposition module is used for superposing the basic watermark image in the original image according to the position area to obtain an initial watermark image;
and the image interception module is used for intercepting the target watermark image in the initial watermark image based on the resolution.
Optionally, in a specific implementation manner, the location determining module is specifically configured to:
determining a preset size corresponding to the resolution ratio, and calculating the product of a preset multiple and the preset size to be used as the original size of an original image for generating the target watermark image; wherein the preset multiple is not less than 1;
and determining the position areas of a plurality of basic watermark images in the original image based on the relation between the original size and the basic size of the basic watermark image.
Optionally, in a specific implementation manner, the image capturing module is specifically configured to:
if the original image and the target watermark image have the same size, determining the initial watermark image as the target watermark image;
and if the original size of the original image is larger than the size of the target watermark image, capturing an image with a preset size corresponding to the resolution ratio from the original watermark image to serve as the target watermark image.
Optionally, in a specific implementation manner, the apparatus further includes;
the image deriving module is used for obtaining the picture or video frame derived from the preset storage equipment and taking the picture or video frame as an image to be superimposed for watermark superimposition;
the canvas information acquisition module is used for decoding the image to be superimposed to obtain decoded image data to be superimposed and acquiring canvas information in the image data to be superimposed;
and the image information replacing module is used for replacing the image information of the area for overlapping the basic watermark image in the canvas information with the image information of the basic watermark image to obtain target image data overlapped with the basic watermark image.
The embodiment of the application also provides an electronic device, as shown in fig. 11, including:
a memory 1101 for storing a computer program;
the processor 1102 is configured to implement the steps of any watermark image generation method provided in the embodiments of the present application when executing the program stored in the memory 1101.
And the electronic device may further include a communication bus and/or a communication interface, where the processor 1102, the communication interface, and the memory 1101 may communicate with each other via the communication bus.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In a further embodiment provided herein, there is also provided a computer readable storage medium having stored therein a computer program which when executed by a processor implements the steps of any of the watermark image generation methods described above.
In a further embodiment provided herein, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the watermark image generation methods of the above embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a Solid State Disk (SSD), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the apparatus embodiments, the electronic device embodiments, the computer-readable storage medium embodiments, and the computer program product embodiments, the description is relatively simple, and reference should be made to the description of method embodiments in part, since they are substantially similar to the method embodiments.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application. Any modifications, equivalent substitutions, improvements, etc. that are within the spirit and principles of the present application are intended to be included within the scope of the present application.

Claims (10)

1. A method of generating a watermark image, the method comprising:
acquiring watermark characters determined based on user instructions; wherein the user instruction includes a target transparency;
generating a vector diagram of the watermark characters;
and converting the vector image into a basic watermark image with the transparency being the target transparency.
2. The method of claim 1, wherein the obtaining watermark characters determined based on user instructions comprises:
when a user instruction is received, determining a user identification of a user sending the user instruction and a current system time for receiving the user instruction, and determining the user identification and the current system time as watermark characters;
or,
and acquiring watermark characters carried in the user instruction.
3. The method of claim 2, wherein the vector map comprises: gray value of each pixel point;
The converting the vector image into a basic watermark image with transparency being the target transparency comprises:
converting the vector image into an RGB image with the transparency being the target transparency, and taking the RGB image as a basic watermark image;
the RGB value of each pixel point in the basic watermark image is determined based on the gray value of the pixel point in the vector image.
4. A method according to claim 3, wherein said generating a vector image of said watermark character comprises:
and generating a vector diagram of the watermark characters by using a freetype word stock engine.
5. The method of claim 4, wherein prior to generating the vector image of watermark characters, the method further comprises:
calculating the target size of a storage space occupied by a vector diagram of the watermark character to be generated based on the character format of the watermark character and the character library parameters of the freetype character library engine, and applying for the target storage space with the size being the target size in a preset storage area; wherein the character format includes a character size, a number of characters, and a rotation angle;
the method further comprises the steps of:
after the vector image is generated, the vector image is stored in the target storage space.
6. The method according to any one of claims 1-5, further comprising:
determining the resolution of a target watermark image to be generated;
determining the position areas of a plurality of basic watermark images in an original image for generating the target watermark image based on the resolution;
superposing the basic watermark image in the original image according to the position area to obtain an initial watermark image;
and based on the resolution, intercepting the target watermark image in the initial watermark image.
7. The method of claim 6, wherein determining, based on the resolution, a location area in which a plurality of the base watermark images are located in an original image used to generate the target watermark image, comprises:
determining a preset size corresponding to the resolution ratio, and calculating the product of a preset multiple and the preset size to be used as the original size of an original image for generating the target watermark image; wherein the preset multiple is not less than 1;
and determining the position areas of a plurality of basic watermark images in the original image based on the relation between the original size and the basic size of the basic watermark image.
8. The method according to claim 6 or 7, wherein said intercepting said target watermark image in said initial watermark image based on said resolution comprises:
if the original image and the target watermark image have the same size, determining the initial watermark image as the target watermark image;
and if the original size of the original image is larger than the size of the target watermark image, capturing an image with a preset size corresponding to the resolution ratio from the original watermark image to serve as the target watermark image.
9. The method of claim 1, wherein the method further comprises;
acquiring a picture or a video frame derived from preset storage equipment as an image to be superimposed for watermark superimposition;
decoding the image to be superimposed to obtain decoded image data to be superimposed, and obtaining canvas information in the image data to be superimposed;
and replacing the image information of the area for overlapping the basic watermark image in the canvas information with the image information of the basic watermark image to obtain target image data overlapped with the basic watermark image.
10. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the method of any of claims 1-9 when executing a program stored on a memory.
CN202311790098.0A 2023-12-22 2023-12-22 Watermark image generation method and electronic equipment Pending CN117835009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311790098.0A CN117835009A (en) 2023-12-22 2023-12-22 Watermark image generation method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311790098.0A CN117835009A (en) 2023-12-22 2023-12-22 Watermark image generation method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117835009A true CN117835009A (en) 2024-04-05

Family

ID=90522262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311790098.0A Pending CN117835009A (en) 2023-12-22 2023-12-22 Watermark image generation method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117835009A (en)

Similar Documents

Publication Publication Date Title
US10861133B1 (en) Super-resolution video reconstruction method, device, apparatus and computer-readable storage medium
JP4626775B2 (en) Information processing apparatus and information processing program
US20240119223A1 (en) Method, apparatus and electronic device for field merging
CN114363533A (en) Display control method and device, display equipment and computer readable medium
EP3301908A1 (en) Numerical image conversion method and device, and storage medium and device
CN117835009A (en) Watermark image generation method and electronic equipment
CN111612838A (en) Image acquisition method and device and electronic equipment
US8799425B2 (en) Configuring display properties of display units on remote systems
US20220070370A1 (en) Image processing device, image processing method, and image processing program
CN117319736A (en) Video processing method, device, electronic equipment and storage medium
JP2020046628A (en) Display control device and display control program
CN112329384A (en) Method, device and equipment for realizing character shadow effect and storage medium
CN117315172B (en) Map page configuration method, map page configuration device, electronic equipment and computer readable medium
CN113254141B (en) Image generation method, image generation device, electronic equipment and storage medium
CN113628292B (en) Method and device for previewing pictures in target terminal
CN112394857B (en) Method and device for converting format of slide PPT document and electronic equipment
CN113763860A (en) Display color determination method and device, electronic equipment and storage medium
JP3597408B2 (en) Image data inspection device
CN117812192A (en) Watermark superposition method and electronic equipment
CN112463280B (en) Image generation method, device, electronic equipment and computer readable storage medium
WO2020179837A1 (en) Cooperation processing apparatus and method
US20220292733A1 (en) Method and apparatus for text effect processing
US20240037688A1 (en) Inspection of digital images through watermarks
US20220292731A1 (en) Method and apparatus for text effect processing
JP6476985B2 (en) Display device, display system, and program

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