CN112233005B - Three-dimensional logo watermark generation method of train dispatching terminal - Google Patents

Three-dimensional logo watermark generation method of train dispatching terminal Download PDF

Info

Publication number
CN112233005B
CN112233005B CN202010994767.6A CN202010994767A CN112233005B CN 112233005 B CN112233005 B CN 112233005B CN 202010994767 A CN202010994767 A CN 202010994767A CN 112233005 B CN112233005 B CN 112233005B
Authority
CN
China
Prior art keywords
dimensional
watermark
color
logo
image
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
CN202010994767.6A
Other languages
Chinese (zh)
Other versions
CN112233005A (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.)
China Academy of Railway Sciences Corp Ltd CARS
Signal and Communication Research Institute of CARS
Beijing Ruichi Guotie Intelligent Transport Systems Engineering Technology Co Ltd
Beijing Huatie Information Technology Co Ltd
Original Assignee
China Academy of Railway Sciences Corp Ltd CARS
Signal and Communication Research Institute of CARS
Beijing Ruichi Guotie Intelligent Transport Systems Engineering Technology Co Ltd
Beijing Huatie Information 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 China Academy of Railway Sciences Corp Ltd CARS, Signal and Communication Research Institute of CARS, Beijing Ruichi Guotie Intelligent Transport Systems Engineering Technology Co Ltd, Beijing Huatie Information Technology Co Ltd filed Critical China Academy of Railway Sciences Corp Ltd CARS
Priority to CN202010994767.6A priority Critical patent/CN112233005B/en
Publication of CN112233005A publication Critical patent/CN112233005A/en
Application granted granted Critical
Publication of CN112233005B publication Critical patent/CN112233005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The invention discloses a three-dimensional logo watermark generation method of a train dispatching terminal, which solves the problem of reduced overall interface display effect caused by the similarity of watermark character patterns in a pattern of an application program of the train dispatching terminal and inherent pattern patterns of train dispatching business. The monochrome graphic conversion method solves the problem that the display effect of the identification color block of the train scheduling information is reduced because the color of the built-in logo picture cannot be directly changed through external parameters.

Description

Three-dimensional logo watermark generation method of train dispatching terminal
Technical Field
The invention relates to the technical field of computer watermark generation, in particular to a three-dimensional logo watermark generation method of a train dispatching terminal.
Background
The computer watermark generation technology is a technical means for inserting specific information such as user identification, computer network position and time information into a screen or application program frame picture data. The technology reduces the effective tracing difficulty of illegal behaviors (such as human faults and secret leakage) in an information system by adding characteristic information into a computer image, thereby playing a role in protecting sensitive information in an application program. According to different information service requirements, computer watermarks exist in various implementation forms, such as texts, images, dot matrixes, two-dimensional codes or digital watermarks.
Currently, the method basis for screen-viewable watermark generation technology is a function of computer graphics features (e.g., color, size, tilt angle, transparency, etc.) provided by the operating system. The watermark generation module of the application program realizes the generation and arrangement of the watermarks in the full screen or the application program interface through the calling of the graphic function. The graphic features are stored in the local area network server in the form of parameters, and an application program can acquire parameter configuration information through a network flow and further draw a watermark view layer. Depending on the nested position of the watermark generation module, the view layer may always be located at the uppermost of the screen layers or may be located above a particular layer within the application. The overall flow of the screen-viewable watermark generation technique may be summarized as shown in fig. 1.
In fig. 1, the target object provided by the server includes text, pictures or animation, and the application scope can be full screen or limited to the content of the application program window. After drawing the view layer, the watermark generation technology can also realize the automatic calculation of the watermark arrangement mode and the size and the special display effect that the watermark content is updated in real time according to the network content.
The defects of the existing scheme are as follows: in the interface of the train dispatching terminal, conflict can occur between the graphic features of watermark characters generated by the existing scheme and the inherent graphic representation form (such as inclined running line identification) of dispatching business character information, so that the overall display effect of the interface is reduced. In addition, in order to ensure the display effect of the train scheduling information identification color blocks in the terminal interface, the color attribute of the logo pictures in the watermark must be consistent with the characters. Because the logo picture is an important basis in the illegal act tracing and responsibility judging processes, in order to avoid intentional tampering of information, the picture can only be built in an application program, so that the prior art cannot set consistent colors of two types of objects by a method of externally presetting a single-color picture, and the problem of reduced display effect of an information identification color block occurs.
Disclosure of Invention
The invention aims to provide a three-dimensional logo watermark generation method of a train dispatching terminal, which can lead watermarks to be remarkably different from inherent two-dimensional graphic representation forms of train dispatching in morphology and can ensure the graphic expression effect of a train dispatching information identification color block.
The invention aims at realizing the following technical scheme:
a three-dimensional logo watermark generation method of a train dispatching terminal comprises the following steps:
setting a two-dimensional watermark pattern containing logo pictures and text information;
the method comprises the steps of realizing the output from a two-dimensional watermark pattern to a three-dimensional watermark pattern in a mode of transforming between image coordinates and projection coordinates through given oblique angle parameters, and calculating a coordinate origin of the three-dimensional watermark pattern and a minimum rectangular frame of the three-dimensional watermark pattern, so that the insertion position of the three-dimensional watermark pattern in an application program interface is determined through an automatic arrangement method; the image coordinates refer to coordinate points in an image coordinate system where the watermark pattern is located, and the projection coordinates are coordinate points on the coordinate system where the application program layer is located;
the method comprises the steps of realizing the monochrome output of the logo picture arranged in the application program in a view layer according to the color of text information through image transmission and raster operation, enabling an application program interface to only comprise two colors of a train scheduling information identification inherent color and a watermark color after watermark insertion, and generating corresponding watermarks in the application program according to the insertion position and a given transparency parameter.
According to the technical scheme provided by the invention, the problem of reduced overall interface display effect caused by the similarity of the watermark text pattern and the inherent pattern of the train dispatching service in the pattern layer of the train dispatching terminal application program is solved by the three-dimensional coordinate transformation method. The monochrome graphic conversion method solves the problem that the display effect of the identification color block of the train scheduling information is reduced because the color of the built-in logo picture cannot be directly changed through external parameters.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a prior art watermark generation flow provided in the background of the invention;
fig. 2 is a flowchart of a three-dimensional logo watermark generation method of a train dispatching terminal provided by an embodiment of the invention;
fig. 3 is a schematic diagram of a watermark pattern of a logo of a train dispatching terminal provided by an embodiment of the invention;
FIG. 4 is a diagram showing the relationship between watermark image coordinates and projection coordinates according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a watermark minimum rectangular frame and an origin of an image coordinate system according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an exemplary method for automatically arranging watermark patterns in a projection coordinate system;
fig. 7 is a schematic diagram of similarity between a watermark generation result and a scheduling information fixed pattern in the prior art according to an embodiment of the present invention;
fig. 8 is a watermark effect diagram output by the scheme of the present invention according to the embodiment of the present invention;
FIG. 9 is a graph showing the watermark color processing results of the prior art according to an embodiment of the present invention;
fig. 10 shows the result of color processing improvement output by the scheme of the present invention according to the embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention 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 embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
The screen visible watermark is a computer pattern for characteristic information identification, and can play a good role in warning potential illegal behaviors. In order to improve the display effect of the visible watermark on the premise of complex dispatching service graphics, the embodiment of the invention provides a three-dimensional logo watermark generation method of a train dispatching terminal, which specifically solves the following visible watermark display problem of the train dispatching terminal by improving the computer graphics output characteristics in the prior art:
1) Similarity problem of inherent graphic style and watermark text of train dispatching service
2) The train dispatching information identifies the problem of monochrome display of the watermark assembly pattern above the color block.
As shown in fig. 2, the method mainly comprises the following steps:
1. and setting a two-dimensional watermark pattern containing logo pictures and text information.
As shown in fig. 3, the left side of the two-dimensional watermark pattern is a logo picture, and the right side is text information; the text information comprises a user name and an IP address.
The text information can be modified according to the use condition through an external configuration file or a local area network FTP server; the picture information is a manufacturer logo built in an application program, the transformation of coordinates and color attributes can be realized only by a method provided in the program, and the change can not be performed by any external means.
All logo pictures, user name text information and IP address information in the watermark pattern have the same color, inclination angle and transparency attribute. Let h be T 、w U 、w I A is respectively a character height expressed according to pixels, a user name character length and an IP address character length P For the aspect ratio of the logo picture, the width w of the logo picture P And word width w T The following relationship is satisfied:
2. the method comprises the steps of realizing the output from a two-dimensional watermark pattern to a three-dimensional watermark pattern by means of transformation between image coordinates and projection coordinates through given oblique angle parameters, and calculating the coordinate origin of the three-dimensional watermark pattern and the minimum rectangular frame of the three-dimensional watermark pattern, so that the insertion position of the three-dimensional watermark pattern in an application program interface is determined through an automatic arrangement method.
The step adds the oblique angle parameter attribute based on the traditional oblique angle parameter, introduces a three-dimensional coordinate transformation and automatic arrangement method, and leads the output graph to be remarkably different from the inherent two-dimensional graph representation form of train dispatching in morphology.
In the embodiment of the invention, the image coordinates refer to coordinate points in an image coordinate system where the watermark pattern is located, and the projection coordinates refer to coordinate points on the coordinate system where the application program layer is located. Let the image coordinate system be X s O′Y s The projected coordinate system is XOY, and the relationship between the two coordinate systems is shown in fig. 4.
In FIG. 4, r and s are the inclination and the oblique angles of the projection coordinates, respectively, and the horizontal axis X and the vertical axis Y of the projection coordinate system XOY are at the point (X 0 ,y 0 ) The transverse and longitudinal axes obtained after anticlockwise rotation by an angle r are respectively X r 、Y r The method comprises the steps of carrying out a first treatment on the surface of the Longitudinal axis Y r Around a transverse axis X r The longitudinal axis obtained after rotating clockwise by an angle s is Y s The method comprises the steps of carrying out a first treatment on the surface of the Horizontal axis X r With longitudinal axis Y s Constitutes an image coordinate system X s O′Y s ,X r Can be marked as X s The method comprises the steps of carrying out a first treatment on the surface of the The set points (x, y) are the graphsImage coordinate system X s O′Y s Inner point (x) s ,y s ) The coordinate relation and the constraint conditions before and after the projection operation are as follows:
in the above, T x And T y The projection functions of the horizontal axis X and the vertical axis Y under the given inclination r and the inclination s are respectively shown.
By acquiring application layer device description table information and performing coordinate transformation by a computer graphics function setworld transformation provided by an operating system, the above formula becomes a two-dimensional linear transformation matrix form executable by a computer:
in the above formula, the matrix M is a transformation matrix that can be processed by the computer graphics function SetWorldtranform, and the points (x 0 ,y 0 ) For the image coordinate system X s O′Y s The origin is at the coordinate location of the application layer. The transformation of the two-dimensional watermark pattern into the three-dimensional watermark pattern is completed.
Fig. 5 shows a graphical relationship between the location of the three-dimensional watermark pattern and the smallest rectangular border. Marking the upper left corner of the minimum rectangular frame of the three-dimensional watermark pattern as (x) B ,y B ) Then point (x 0 ,y 0 ) Minimum rectangular bezel width w B Minimum rectangular rim height h B The relation with watermark pattern parameters is:
the equation set is a method for determining the coordinate origin and the minimum rectangular frame of the three-dimensional watermark image under any coordinates.
FIG. 6 shows a single watermark in the projection coordinate system XOYAn automatic arrangement method for a style minimum rectangular frame. Thus, the automatic arrangement method can be described as a known application layer width w, a horizontal spacing w of adjacent minimum rectangular frames 0 The height h of the image layer of the application program and the vertical distance h of the adjacent minimum rectangular frames 0 Under the condition, solving a flow of inserting a plurality of three-dimensional watermark patterns into the position point set P, wherein the flow is expressed as follows:
in the above, P x 、P y X coordinate set of horizontal axis and Y coordinate set of vertical axis of three-dimensional watermark pattern insertion position point, w B And h B Width and height of minimum rectangle frame of three-dimensional watermark pattern, mod is mathematical calculation mode of remainder, i w 、i h Serial number marks which are respectively and automatically arranged on a horizontal axis X and a vertical axis Y for three-dimensional watermark patterns, Z + Representing a positive integer.
3. The method comprises the steps of realizing the monochrome output of the logo picture arranged in the application program in a view layer according to the color of text information through image transmission and raster operation, enabling an application program interface to only comprise two colors of a train scheduling information identification inherent color and a watermark color after watermark insertion, and generating corresponding watermarks in the application program according to the insertion position and a given transparency parameter.
The method comprises the steps of realizing monochrome output of the built-in pictures on a view layer according to character colors through bitmap transmission and raster operation, and reserving color information of covered areas according to transparency parameters, so that the graphic expression effect of the train dispatching information identification color blocks is ensured. The preferred embodiment is as follows:
1) The single-color output of the logo pictures arranged in the application program on the view layer according to the color of the text information is realized through the graph transmission and the grating operation:
through image bit block transfer operation, converting the built-in logo picture into a form of monochromatic mask: loading logo pictures into color image bit blocks; the background color of the logo picture is loaded into a monochromatic image bit block, and the size of the logo picture is consistent with that of the logo picture; using an image bit block transfer operation, a color image bit block is transferred to a monochrome bit block, and the operating system automatically converts non-background color pixels in the logo picture to 0 and background color pixels to 1, thereby obtaining the logo picture in the form of a monochrome mask. The image bit block transfer operation method is provided by a device description table of an application program (a memory area storing the image bit block and various computer graphics functions in the application program).
Pixel logic operation: logical operation of the text information color and logo picture monochromatic mask is executed through the raster code, and the logical operation is as follows: after the single-color mask (dest) of the logo picture is inverted, the union operation is carried out with the text information color (pattern). The pixel logic method is provided by a device description table of the application program.
The grating code characteristics are shown in table 1:
executing operations Hexadecimal form
dest=pattern OR(NOT dest) 0xAF0229
TABLE 1 Grating code Properties
2) After processing and storing the monochrome pictures and the text in the above manner, the watermark is generated in the application image layer according to the arrangement position and the given transparency parameter calculated in the previous step 2.
Three-dimensional watermark pattern in projection coordinate system and RGB color information in rectangle frame with minimum insertion position are (r) w ,g w ,b w ) Sum (r) B ,g B ,b B ) Then the three-dimensional watermark pattern is transparently processed by combining the given transparency parameter to generate corresponding dataIs described, color information (r 'of the three-dimensional watermark' B ,g’ B ,b’ B ) Expressed as:
where the parameter t is a given transparency parameter, all color information of the covered area will be retained when t=1, and all color information of the covered area will not be retained when t=0.
In addition to the solutions provided by the above embodiments, some adjustments may be made:
1) The watermark characters of the train dispatching terminal are in italics, and the whole watermark pattern is arranged according to a certain inclination angle. The method can also distinguish the inherent patterns of the train dispatching service from the watermark patterns, but the significance is not high.
2) The watermark text color of the train dispatching terminal is not used as a configuration item stored by the FTP server of the local area network in the process, but is loaded in the application program according to the logo picture color parameters. The method can ensure the monochromaticity of the watermark combined graph, but has the defect that the watermark combined graph cannot be flexibly changed through external configuration.
But even so, the effect after the adjustment is still superior to the prior art.
In order to more intuitively illustrate the effect of the above-mentioned scheme of the embodiment of the present invention, the following description is made in connection with a specific application scenario.
In an exemplary application scenario:
1) The running chart plan display content of the application program layer comprises section line information of a train, and the fixed graph representation form of the information is two-dimensional colored characters displayed according to a certain inclination angle.
2) The running chart base of the application program layer contains identification information of a stage plan distribution range, a neighboring area and different shift time ranges, and the train scheduling information identification color block graph representation form in the terminal interface is a fixed color background color block specified by a train scheduling specification.
Because the computer graphic feature method provided by the prior watermark generation technology is limited, the interval line information and the watermark text information displayed by the application program layer have similarity in graphic style, as shown in figure 7.
The above scheme of the invention is optimized for the display problem that the watermark pattern and the line information are similar in fig. 7. By the three-dimensional coordinate transformation method, inclination occurs between the plane where the output text is located and the application program image layer, so that the graphic features of the Chinese information in the watermark pattern can be obviously different from the operation line information in morphology. The three-dimensional watermark pattern output according to the above scheme of the present invention is shown in fig. 8, where the solid line box in fig. 8 represents the application layer where the text object is located, the dotted line box represents the inclined plane where the watermark is located, and the shadow represents the smallest rectangular border used by the automatic arrangement function of the watermark generation module.
In addition, the color of the logo pattern built in the application program cannot be changed by a configuration method provided by the local area network FTP server in the prior art, so that at least three color information (the inherent color of the train dispatching information identification, the color of the picture built in the watermark and the color of the watermark text setting) appears in the watermark displayed above the train dispatching information identification color block by the application program, and the display effect of the train dispatching information identification color block (such as the shift time range, the adjacent area and the planned issuing area in the running chart) is reduced.
According to the scheme, through the bitmap transmission characteristics and the raster operation of the device description table, pictures and characters in the watermark pattern can be uniformly output according to the character colors as shown in fig. 10, so that color information in the watermark display range is simplified into two color information (the inherent color of the train dispatching information mark and the set color of the watermark characters), and the problem of reduced display effect of the information mark color blocks is avoided.
As can be seen from the effects shown in fig. 8 and 10, the above-mentioned scheme of the present invention adopts a three-dimensional coordinate transformation method and a monochrome graphics transformation method to respectively treat the display problems of the inherent graphic style and the information identification color block of the train dispatch service in the watermark generation process of the application program layer. The beneficial effects brought by the three-dimensional logo watermark generation method of the train dispatching terminal can be summarized as follows:
1) The three-dimensional coordinate transformation method solves the problem that the overall display effect of the interface is reduced due to the fact that watermark text patterns in the train dispatching terminal application program image are similar to inherent pattern patterns of train dispatching services.
2) The monochrome graphic conversion method solves the problem that the display effect of the identification color block of the train scheduling information is reduced because the color of the built-in logo picture cannot be directly changed through external parameters.
From the description of the above embodiments, it will be apparent to those skilled in the art that the above embodiments may be implemented in software, or may be implemented by means of software plus a necessary general hardware platform. With such understanding, the technical solutions of the foregoing embodiments may be embodied in a software product, where the software product may be stored in a nonvolatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.), and include several instructions for causing a computer device (may be a personal computer, a server, or a network device, etc.) to perform the methods of the embodiments of the present invention.
The foregoing is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (5)

1. The three-dimensional logo watermark generation method of the train dispatching terminal is characterized by comprising the following steps of:
setting a two-dimensional watermark pattern containing logo pictures and text information;
the method comprises the steps of realizing the output from a two-dimensional watermark pattern to a three-dimensional watermark pattern in a mode of transforming between image coordinates and projection coordinates through given oblique angle parameters, and calculating a coordinate origin of the three-dimensional watermark pattern and a minimum rectangular frame of the three-dimensional watermark pattern, so that the insertion position of the three-dimensional watermark pattern in an application program interface is determined through an automatic arrangement method; the image coordinates refer to coordinate points in an image coordinate system where the watermark pattern is located, and the projection coordinates are coordinate points on the coordinate system where the application program layer is located;
the method comprises the steps of realizing monochrome output of a logo picture arranged in an application program in a view layer according to the color of text information through graph transmission and raster operation, enabling an application program interface to only comprise two colors of a train scheduling information identification inherent color and a watermark color after watermark insertion, and generating corresponding watermarks in the application program according to insertion positions and given transparency parameters;
the method for realizing the monochrome output of the logo picture arranged in the application program at the view layer according to the color of the text information through the image transmission and the grating operation comprises the following steps:
through image bit block transfer operation, converting the built-in logo picture into a form of monochromatic mask: loading logo pictures into color image bit blocks; the background color of the logo picture is loaded into a monochromatic image bit block, and the size of the logo picture is consistent with that of the logo picture; using image bit block transmission operation to transmit a color image bit block to a monochrome bit block, wherein an operating system can automatically convert non-background color pixels in a logo picture into 0 and background color pixels into 1, so as to obtain the logo picture in a monochrome mask form;
pixel logic operation: logical operation of the text information color and logo picture monochromatic mask is executed through the raster code, and the logical operation is as follows: after the single-color mask of the logo picture is inverted, carrying out union operation on the logo picture and the color of the text information;
the image bit block transfer operation method and the pixel logic operation method are provided by a device description table of an application program.
2. The method for generating the three-dimensional logo watermark of the train dispatching terminal according to claim 1, wherein the left side of the two-dimensional watermark pattern is a logo picture, and the right side is text information; the text information comprises a user name and an IP address;
let h be T 、w U 、w I The text height expressed by pixels, the text length of the user name and the text length of the IP address are respectively,A P for the aspect ratio of the logo picture, the width w of the logo picture P And word width w T The following relationship is satisfied:
wherein the widths of the user name and the IP address are w T
3. The method for generating a three-dimensional logo watermark of a train dispatch terminal according to claim 2, wherein the step of implementing the output of the two-dimensional watermark pattern to the three-dimensional watermark pattern by transforming between the image coordinates and the projection coordinates by a given skew angle parameter comprises:
let the image coordinate system be X s O′Y s The projection coordinate system is XOY, r and s are the inclination angle and the oblique angle of the projection coordinate respectively, and the horizontal axis X and the vertical axis Y of the projection coordinate system XOY are at the point (X 0 ,y 0 ) The transverse and longitudinal axes obtained after anticlockwise rotation by an angle r are respectively X r 、Y r The method comprises the steps of carrying out a first treatment on the surface of the Longitudinal axis Y r Around a transverse axis X r The ordinate obtained after rotating clockwise by an angle s is Y s The method comprises the steps of carrying out a first treatment on the surface of the Horizontal axis X r With longitudinal axis Y s Constitutes an image coordinate system X s O′Y s Horizontal axis X r Transverse axis X s
The set point (X, y) is the image coordinate system X s O′Y s Inner point (x) s ,y s ) The coordinate relation and the constraint conditions before and after the projection operation are as follows:
in the above, T x And T y The projection functions of the horizontal axis X and the vertical axis Y under the given inclination r and the given inclination s are respectively shown;
by acquiring application layer device description table information and performing coordinate transformation by a computer graphics function setworld transformation provided by an operating system, the above formula becomes a two-dimensional linear transformation matrix form executable by a computer:
in the above formula, the matrix M is a transformation matrix that can be processed by the computer graphics function SetWorldtranform, and the points (x 0 ,y 0 ) For the image coordinate system X s O′Y s The origin is at the coordinate location of the application layer.
4. A three-dimensional logo watermark generation method of train dispatch terminal according to claim 3, characterized in that the upper left corner of the minimum rectangular border of three-dimensional watermark pattern is marked as (x B ,y B ) Then point (x 0 ,y 0 ) Minimum rectangular bezel width w B Minimum rectangular rim height h B The relation with watermark pattern parameters is:
finally, the automatic arrangement method is described as the horizontal spacing w between adjacent minimum rectangular frames at a known application layer width w 0 The height h of the image layer of the application program and the vertical distance h of the adjacent minimum rectangular frames 0 Under the condition, solving a flow of inserting a plurality of three-dimensional watermark patterns into the position point set P, wherein the flow is expressed as follows:
in the above, P x 、P y Respectively inserting a horizontal axis X coordinate and a vertical axis Y coordinate of position points for a plurality of three-dimensional watermark patterns, wherein mod is a mathematical calculation mode for solving remainder, i w 、i h Respectively three-dimensional watermark patterns on the horizontal axisSerial number marks arranged automatically on X and Y axes, Z + Representing a positive integer.
5. The method for generating three-dimensional logo watermark of train dispatch terminal according to any one of claims 1 to 4, wherein the three-dimensional watermark pattern in the projection coordinate system and RGB color information in the rectangular frame with the minimum insertion position are (r w ,g w ,b w ) Sum (r) B ,g B ,b B ) Then, the three-dimensional watermark pattern is transparently processed by combining the given transparency parameter to generate a corresponding three-dimensional watermark, and the color information (r B ',g' B ,b' B ) Expressed as:
where the parameter t is a given transparency parameter, all color information of the covered area will be retained when t=1, and all color information of the covered area will not be retained when t=0.
CN202010994767.6A 2020-09-21 2020-09-21 Three-dimensional logo watermark generation method of train dispatching terminal Active CN112233005B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010994767.6A CN112233005B (en) 2020-09-21 2020-09-21 Three-dimensional logo watermark generation method of train dispatching terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010994767.6A CN112233005B (en) 2020-09-21 2020-09-21 Three-dimensional logo watermark generation method of train dispatching terminal

Publications (2)

Publication Number Publication Date
CN112233005A CN112233005A (en) 2021-01-15
CN112233005B true CN112233005B (en) 2024-02-09

Family

ID=74107276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010994767.6A Active CN112233005B (en) 2020-09-21 2020-09-21 Three-dimensional logo watermark generation method of train dispatching terminal

Country Status (1)

Country Link
CN (1) CN112233005B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102860014A (en) * 2010-02-19 2013-01-02 汤姆森特许公司 Stereo logo insertion
CN105574812A (en) * 2015-12-14 2016-05-11 深圳先进技术研究院 Multi-angle three-dimensional data registration method and device
CN107018254A (en) * 2015-10-26 2017-08-04 株式会社理光 Information processing system, the information processing terminal and information processing method
CN107862647A (en) * 2017-11-15 2018-03-30 平安科技(深圳)有限公司 Display methods, device, computer equipment and the storage medium of screen watermark
CN108550190A (en) * 2018-04-19 2018-09-18 腾讯科技(深圳)有限公司 Augmented reality data processing method, device, computer equipment and storage medium
CN109697493A (en) * 2018-12-21 2019-04-30 北京印刷学院 Stealthy badge anti-forge method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104856A (en) * 2020-11-18 2020-12-18 基腾(成都)科技有限公司 Method for converting low-complexity two-dimensional image video signal into three-dimensional image video signal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102860014A (en) * 2010-02-19 2013-01-02 汤姆森特许公司 Stereo logo insertion
CN107018254A (en) * 2015-10-26 2017-08-04 株式会社理光 Information processing system, the information processing terminal and information processing method
CN105574812A (en) * 2015-12-14 2016-05-11 深圳先进技术研究院 Multi-angle three-dimensional data registration method and device
CN107862647A (en) * 2017-11-15 2018-03-30 平安科技(深圳)有限公司 Display methods, device, computer equipment and the storage medium of screen watermark
CN108550190A (en) * 2018-04-19 2018-09-18 腾讯科技(深圳)有限公司 Augmented reality data processing method, device, computer equipment and storage medium
CN109697493A (en) * 2018-12-21 2019-04-30 北京印刷学院 Stealthy badge anti-forge method

Also Published As

Publication number Publication date
CN112233005A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
McDonnell et al. Illustrative parallel coordinates
US6545685B1 (en) Method and system for efficient edge blending in high fidelity multichannel computer graphics displays
US11049307B2 (en) Transferring vector style properties to a vector artwork
US20170293992A1 (en) Image code for processing information and device and method for generating and parsing same
JP4598367B2 (en) Method and apparatus for rendering subcomponent oriented characters in an image displayed on a display device
US11027201B2 (en) Composing an image
JP2007066064A (en) Image generating device and image generating program
JP3626144B2 (en) Method and program for generating 2D image of cartoon expression from 3D object data
US20080292215A1 (en) Selective text flipping and image mirroring system and method
AU2009201612B2 (en) Scalable pixel coverage function-map
US20120249569A1 (en) Drawing apparatus, drawing method, and drawing program
CN112233005B (en) Three-dimensional logo watermark generation method of train dispatching terminal
CN114332895A (en) Text image synthesis method, text image synthesis device, text image synthesis equipment, storage medium and program product
CN117611703A (en) Barrage character rendering method, barrage character rendering device, barrage character rendering equipment, storage medium and program product
JP3471115B2 (en) Image coordinate transformation method
JP2005262492A (en) Printed matter having image with embedded message
WO2020252976A1 (en) Video insertion method, apparatus and device, medium and system
JP4174133B2 (en) Image generation method
CN108256611B (en) Two-dimensional code image generation method and device, computing equipment and storage medium
JP3881810B2 (en) Digital watermark with adjustable watermark mark visibility
JP3111971B2 (en) Image data interpolation apparatus, image data interpolation method, and medium recording image data interpolation program
JP4911585B2 (en) Image processing apparatus, image processing method, program, and information recording medium
JP2000076432A (en) Image data interpolation device and method therefor, and medium having recorded image data interpolation program thereon
JP2019176246A (en) Image processing apparatus, image processing method and image processing program
JPH11328427A (en) Device and method for polygon divisional plotting and storage medium

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