CN116188248A - Image data conversion method, device, equipment and medium - Google Patents
Image data conversion method, device, equipment and medium Download PDFInfo
- Publication number
- CN116188248A CN116188248A CN202211640829.9A CN202211640829A CN116188248A CN 116188248 A CN116188248 A CN 116188248A CN 202211640829 A CN202211640829 A CN 202211640829A CN 116188248 A CN116188248 A CN 116188248A
- Authority
- CN
- China
- Prior art keywords
- image
- ith
- coordinate
- pixel point
- circle
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 53
- 238000013507 mapping Methods 0.000 claims abstract description 52
- 230000002441 reversible effect Effects 0.000 claims abstract description 25
- 230000006870 function Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 19
- 230000009466 transformation Effects 0.000 claims description 17
- 238000003860 storage Methods 0.000 claims description 5
- 238000012545 processing Methods 0.000 abstract description 3
- 238000004364 calculation method Methods 0.000 description 16
- 230000000694 effects Effects 0.000 description 15
- 230000009286 beneficial effect Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000004519 manufacturing process Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 239000011324 bead Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-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)
Abstract
The application is applicable to the technical field of image processing, and provides an image data conversion method, an image data conversion device and a medium, wherein the image data conversion method comprises the following steps: acquiring pixel point coordinates of a first image, pixel point coordinates of a second image and an image curvature radius of the second image; calculating a reversible mapping relation from a pixel point in the first image to a pixel point in the second image according to the curvature radius of the image; the method and the device provide good foundation for the conversion of the special-shaped screen display image with curvature or the special-shaped image with curvature (namely, the conversion into a standard image or other curvature images) and avoid the problems of pixel loss or pixel dislocation possibly occurring when the image is not matched with the display screen.
Description
Technical Field
The application belongs to the technical field of image processing, and particularly relates to an image data conversion method, device, equipment and medium.
Background
There is a problem in the field of image display that is often ignored by those skilled in the art, namely, how a standard image is displayed on an arc-shaped screen (e.g., a sector-shaped screen that should deal with a specific activity, a circular screen, etc.), and further, in some cases, how a special-shaped image (e.g., an arc pixel arrangement image having a first curvature) is displayed on a non-matching arc-shaped screen (e.g., a house-shaped screen having a second curvature); or how to convert the special-shaped image into a standard image.
Since this is relatively rare, those skilled in the art tend to adjust the initial image for a particular arc screen when faced with a problem, on the one hand, with less efficiency and, on the other hand, without being able to be universally applied to all types of arc screens.
Therefore, how to provide a general image conversion method capable of solving the problem of displaying an arc-shaped screen image and having a better and more stable display effect is a problem to be considered in the industry.
Disclosure of Invention
The embodiment of the application provides an image data conversion method, an image data conversion device, image data conversion equipment and an image data conversion medium, and can solve the problem of arc-shaped screen image display.
In a first aspect, an embodiment of the present application provides an image data conversion method, including:
Acquiring pixel point coordinates of a first image, pixel point coordinates of a second image and an image curvature radius of the second image;
calculating a reversible mapping relation from the pixel point in the first image to the pixel point in the second image according to the curvature radius of the image; the reversible mapping relation refers to coordinate transformation mapping from a preset ith first set of pixels in the first image to a preset ith second set of pixels in the second image; the number of the first sets is the same as the number of the second sets; i is a positive integer not greater than the first set number;
and converting the first image into an image with pixel coordinates of the second image according to the reversible mapping relation, or converting the second image into an image with pixel coordinates of the first image.
According to the method, the reversible mapping relation is obtained through calculation according to the image curvature radius, and the image conversion is realized based on the reversible mapping relation, so that a good foundation is provided for the special-shaped screen display image with curvature or the special-shaped image conversion with curvature (namely, conversion into a standard image or other curvature images), and the problems of pixel loss or pixel dislocation possibly occurring when the image is not matched with the display screen are avoided.
In a possible implementation manner of the first aspect, the step of calculating a reversible mapping relationship between pixels in the first image and pixels in the second image according to the image curvature radius includes:
determining an ith circle according to the curvature radius of the image and coordinates of pixel points in the first image; wherein the radius of the ith circle is consistent with the radius of curvature of the image;
and constructing coordinate transformation mapping from the ith first set to the ith second set based on the ith circle.
According to the method, the ith circle is introduced as a construction intermediate parameter of the reversible mapping relation, so that coordinate transformation mapping from the first image to the second image can be obtained more accurately, and a better special-shaped screen display effect is obtained.
In a possible implementation manner of the first aspect, the first image is an image based on pixels arranged in a straight line, the ith first set is formed by pixels in the ith row of the first image, and the step of determining the ith circle according to the curvature radius of the image and coordinates of the pixels in the first image includes:
calculating to obtain a first center coordinate of which the distances relative to the first coordinate and the second coordinate are the radius of curvature of the image of the ith second set; the first coordinate is the first pixel point coordinate of the ith row of the first image; the second coordinate is the coordinate of the last pixel point of the ith row of the first image;
And determining the ith circle by taking the first circle center coordinate as a circle center and the radius of curvature of the image of the ith second set as a radius.
In a possible implementation manner of the first aspect, the first image is an image based on pixels arranged in a straight line, the ith first set is formed by pixels in the ith row of the first image, and the step of determining the ith circle according to the curvature radius of the image and coordinates of the pixels in the first image includes:
calculating a second center coordinate which is located on the ith center vertical line and has a distance from the third coordinate as the radius of curvature of the image of the ith second set; the ith perpendicular bisector is the perpendicular bisector of the ith line segment; the ith line segment is a line segment taking a first pixel point and a last pixel point of an ith line of the first image as endpoints; the third coordinate is an intersection point coordinate of the ith line segment and the ith perpendicular bisector;
and determining the ith circle by taking the second circle center coordinates as a circle center and the radius of curvature of the image of the ith second set as a radius.
The two methods can adapt to different calculation demands by providing two different ith circle determining methods respectively, thereby achieving the effects of rapid calculation and saving calculation resources.
In a possible implementation manner of the first aspect, the step of constructing a coordinate transformation mapping from the ith first set to the ith second set based on the ith circle includes:
for the jth pixel point in the ith row of the first image, determining the coordinate of the intersection point of the jth ray and the ith circle as the mapping coordinate of the jth pixel point in the ith second set, and constructing the coordinate transformation relation from the jth pixel point in the ith row of the first image to the jth pixel point in the ith second set; the j-th ray is a ray pointing to a j-th pixel point in an i-th row of the first image by taking the circle center of the i-th circle as an endpoint; the number of the pixel points in the ith first set is consistent with the number of the pixel points in the ith second set, and j is a positive integer not greater than the number of the pixel points in the ith row of the first image.
According to the method, the j-th ray is introduced to calculate the mapping coordinate, so that a more accurate reversible mapping relation can be constructed.
In a possible implementation manner of the first aspect, the step of determining, for a jth pixel point in an ith row of the first image, coordinates of an intersection point of a jth ray and the ith circle as mapped coordinates of the jth pixel point in the ith second set includes:
Constructing a j-th triangle aiming at a j-th pixel point in an i-th row of the first image; the j-th triangle is a right triangle taking the circle center of the i-th circle, the j-th pixel point coordinate in the i-th row of the first image and the third coordinate as vertexes; the third coordinate is an intersection point coordinate of the ith line segment and the ith perpendicular bisector; the ith perpendicular bisector is the perpendicular bisector of the ith line segment; the ith line segment is a line segment taking a first pixel point and a last pixel point of an ith line of the first image as endpoints;
calculating the distance between the third coordinate and the coordinate of the j pixel point in the ith row of the first image and marking the distance as a first distance; calculating the distance between the third coordinate and the center of the ith circle and marking the distance as a second distance;
calculating radian corresponding to the ratio of the first distance to the second distance by using an arctangent function and recording the radian as j radian;
and calculating the coordinate of the jth pixel point in the ith second set according to the jth radian and the ith circle.
The method realizes the rapid determination of the output coordinates through the elementary function (inverse trigonometric function), is beneficial to reducing the time required by the conversion of the special-shaped screen images, improves the conversion efficiency, and can realize the animation display function based on multi-frame images on the basis.
In a possible implementation manner of the first aspect, the step of determining, for a jth pixel point in an ith row of the first image, coordinates of an intersection point of a jth ray and the ith circle as mapped coordinates of the jth pixel point in the ith second set includes:
determining that pixels in an ith second set are uniformly distributed, and determining an ith arc from a major arc or a minor arc on the ith circle which takes a first coordinate and a second coordinate as endpoints; the first coordinate is the first pixel point coordinate of the ith row of the first image; the second coordinate is the coordinate of the last pixel point of the ith row of the first image;
and calculating to obtain the mapping coordinate of the j-th pixel point in the i-th second set by taking the output coordinate of the i-th row of the first image as constraint, wherein the output coordinate is uniformly distributed on the i-th arc.
The method calculates the pixel point coordinates of the second set with the pixels uniformly distributed, and the output coordinates only need to be uniformly distributed on the ith arc due to the premise of uniform pixels, so that the method has faster calculation speed compared with the scheme based on the inverse trigonometric function.
In a second aspect, an embodiment of the present application provides an image data conversion apparatus, including:
The acquisition module is used for acquiring the first image and the image curvature radius of the screen;
the mapping module is used for calculating the output coordinates of the pixel points in the first image according to the curvature radius of the image; the output coordinates of the pixel points of the ith group in the first image are all coordinate points on the ith circle, and the radius of the ith circle is consistent with the curvature radius of the image; i is a positive integer not greater than the number of the first image pixel groups;
and the conversion module is used for displaying the pixel points to the screen according to the output coordinates of the pixel points.
In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the image data conversion method according to any one of the first aspects when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program which, when executed by a processor, implements the image data conversion method of any one of the first aspects above.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on a terminal device, causes the terminal device to perform the image data conversion method according to any one of the first aspects above.
It will be appreciated that the advantages of the second to fifth aspects may be found in the relevant description of the first aspect, and are not described here again.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, 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 flow chart of an image data conversion method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an image data conversion device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
fig. 4 is a schematic structural view of a first image and a first arc-shaped screen according to an embodiment of the present application;
FIG. 5 is a schematic view of a second first image and a second curved screen provided in an embodiment of the present application;
fig. 6 is a schematic structural view of a first arc-shaped screen and a second arc-shaped screen used in combination according to an embodiment of the present application.
Reference numerals:
an acquisition module 201;
a mapping module 202;
a conversion module 203;
a terminal device 30;
a processor 301;
a memory 302;
a computer program 303;
a first image 401;
a first arc screen 400;
a second first image 501;
a second curved screen 500.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
First, application scenarios of embodiments of the present application will be described.
The LED second image is formed by connecting a plurality of boxes through a network cable, the premise that the screen displays normally is that a single box is normally lightened, most of common boxes are rectangular boxes, along with the diversification of application scenes, non-rectangular boxes appear along with the boxes, such as sectors, circles, triangles and the like, and the irregular boxes are needed to be obtained by cutting the rectangular boxes. If the effective pixels in the lamp panel structure are not distributed horizontally but distributed with a certain curvature, the straight lines in the horizontal direction in the image can have a certain curvature according to the effective pixels of the lamp panel in the common mode of imaging, so that the load of the screen body is deviated.
According to the scheme, the straight line in the horizontal direction is calculated to be the curve according to the same curvature, so that the horizontal display effect of the horizontal effective pixel point on the curvature lamp panel can be guaranteed.
An embodiment of the present application provides an image data conversion method, as shown in fig. 1, including:
104, calculating a reversible mapping relation from the pixel point in the first image to the pixel point in the second image according to the curvature radius of the image; the reversible mapping relation refers to coordinate transformation mapping from a preset ith first set of pixels in the first image to a preset ith second set of pixels in the second image; the number of the first sets is the same as the number of the second sets; i is a positive integer not greater than the first set number;
And step 106, converting the first image into an image with pixel coordinates of the second image according to the reversible mapping relation, or converting the second image into an image with pixel coordinates of the first image.
In this embodiment, the reversible mapping relationship may be used to convert a first image based on the linear pixel arrangement into a second image based on the arc pixel arrangement (denoted as a first conversion), and may be used to convert a first image based on the first curvature arc arrangement into a second image based on the second curvature arc arrangement (denoted as a second conversion), and may also be used to convert a second image based on the arc pixel arrangement into a first image based on the linear pixel arrangement (denoted as a third conversion).
The first conversion and the third conversion are understood as reversible processes, and thus the present embodiment will be described in more detail below by taking the first conversion as an example.
In the first conversion scenario, the steps of this embodiment may specifically be:
step 1020, acquiring the display curvature radius of the input image and the screen;
step 1040, calculating the output coordinates of the pixel points in the input image according to the display curvature radius; the output coordinates of the preset pixel points of the ith set in the input image are all coordinate points on the ith circle, and the radius of the ith circle is consistent with the display curvature radius; i is a positive integer not greater than the number of pixel groups of the input image;
And 1060, displaying the pixel point to the screen according to the output coordinates of the pixel point.
In this example, the input image may be understood as a first image, and the pixel output coordinates of the input image may be understood as the pixel coordinates of a second image.
The first image may be a standard rectangular first image or a special-shaped first image, for example, a triangular first image or a trapezoidal first image. The screen is a shaped screen with curvature in the arrangement of display points, and may be, for example, a fan-shaped screen, a circular ring screen, or a screen in the shape of a part of a circular ring.
The display point refers to a minimum light emitting unit in the screen, for example, may be a lamp bead in an LED lamp box.
The output result of step 1040, i.e., the output coordinates, may be understood as the pixel display coordinates of the screen adapted to the above-mentioned special shape and having curvature in the arrangement of the display points, and in contrast, the coordinates of the pixel in the first image may be defined as the input coordinates.
The beneficial effects of this example lie in:
the first image is converted into the output image with radian suitable for special-shaped screen display by calculating the pixel point output coordinates of the first image matched with the screen (especially the image curvature radius of the screen), and the screen display is realized based on the output image, so that a better special-shaped screen display effect is achieved, and the problems of pixel loss or pixel dislocation possibly caused when the first image is not matched with the screen are avoided.
It should be noted that, although the common screen applicable to the embodiments of the present application may be a screen with the same curvature of each display point, there is no limitation on the arrangement of the display points in the screen, and the curvature of the display point arrangement of each row in the screen may be different.
In the practical application process of the present embodiment, because of the problem of manufacturing accuracy of the screen (typically, the problem of arrangement coordinate accuracy of the beads in the manufacturing process of the LED light box, for example), the actual coordinates of the individual display points may not match with the theoretical arc, in this case, the ith circle may perform a certain degree of matching adjustment on the curve at the specific radian along with the actual manufacturing situation of the screen, so the ith circle in the present embodiment cannot be understood as a standard perfect circle under the premise of considering the manufacturing error of the screen.
The concept of the ith set is introduced in this embodiment to group the pixels of the first image from the perspective of screen display, so as to adapt to various special-shaped first images, and when the first image is in a relatively regular shape, for example, when the first image has rows or columns that are sequentially arranged, the ith set can be understood as the ith row or the ith column of the first image.
It should be noted that, the concept of a row or a column is related to the viewing angle, so that the first image pixels on the same line are collectively referred to as a row in each embodiment of the present application, and do not limit the protection scope.
The beneficial effects of this embodiment lie in:
the reversible mapping relation is obtained through calculation according to the curvature radius of the image, and the image conversion is realized based on the reversible mapping relation, so that a good foundation is provided for the special-shaped screen display image with curvature or the special-shaped image conversion with curvature (namely, conversion into a standard image or other curvature images), and the problems of pixel loss or pixel dislocation possibly occurring when the image is not matched with the display screen are avoided.
According to the above embodiment, the present embodiment provides a specific calculation manner of the output coordinates, specifically:
the step of calculating the reversible mapping relation from the pixel point in the first image to the pixel point in the second image according to the curvature radius of the image comprises the following steps:
determining an ith circle according to the curvature radius of the image and coordinates of pixel points in the first image; wherein the radius of the ith circle is consistent with the radius of curvature of the image;
and constructing coordinate transformation mapping from the ith first set to the ith second set based on the ith circle.
Further, still taking the case of the first transition as an example, the embodiment is provided as follows:
an ith row of pixel point set of the first image forms the ith set;
the step of calculating the output coordinates of the pixel points in the first image according to the curvature radius of the image comprises the following steps:
determining the ith circle according to the curvature radius of the image and the input coordinates of the pixel points in the first image; the input coordinates refer to coordinates of the pixel points in the rectangular first image; the ith circle corresponds to the ith row of the rectangular first image one by one;
and calculating according to the ith circle and the input coordinates to obtain the output coordinates of the pixel points.
In this embodiment, the pixel points in the ith row of pixel point set of the first image are located on the same straight line; further, in a preferred embodiment, all pixels of the first image lie on a series of equally spaced parallel lines, such as the first image 401 shown in fig. 4 or the second first image 501 shown in fig. 5.
By way of example and not limitation, for a screen with uniform and consistent image curvature radius, the ith circle is a series of reference circles with the same radius and spaced-apart circle center coordinates, and by introducing the reference circles, the output coordinates can be better and more accurately calculated.
The beneficial effects of this embodiment lie in:
by executing the radian output according to the image curvature radius in pixel row units of the first image, the output coordinates of the pixels of the first image can be obtained more accurately, and thus a better special-shaped screen display effect can be obtained.
The beneficial effects of this embodiment lie in:
by introducing the ith circle as a construction intermediate parameter of the reversible mapping relation, the coordinate transformation mapping from the first image to the second image can be more accurately obtained, and therefore a better special-shaped screen display effect is obtained.
According to any of the above embodiments, the present embodiment provides two schemes for determining the ith circle, specifically:
in a first aspect, the first image is an image based on pixels arranged in a straight line, the ith first set is formed by pixels in the ith row of the first image, and the step of determining the ith circle according to the curvature radius of the image and coordinates of the pixels in the first image includes:
calculating to obtain a first center coordinate of which the distances relative to the first coordinate and the second coordinate are the radius of curvature of the image of the ith second set; the first coordinate is the first pixel point coordinate of the ith row of the first image; the second coordinate is the coordinate of the last pixel point of the ith row of the first image;
And determining the ith circle by taking the first circle center coordinate as a circle center and the radius of curvature of the image of the ith second set as a radius.
In a second aspect, the first image is an image based on pixels arranged in a straight line, the ith first set is formed by pixels in the ith row of the first image, and the step of determining the ith circle according to the curvature radius of the image and coordinates of the pixels in the first image includes:
calculating a second center coordinate which is located on the ith center vertical line and has a distance from the third coordinate as the radius of curvature of the image of the ith second set; the ith perpendicular bisector is the perpendicular bisector of the ith line segment; the ith line segment is a line segment taking a first pixel point and a last pixel point of an ith line of the first image as endpoints; the third coordinate is an intersection point coordinate of the ith line segment and the ith perpendicular bisector;
and determining the ith circle by taking the second circle center coordinates as a circle center and the radius of curvature of the image of the ith second set as a radius.
Further, taking the first transition scenario as an example, embodiments are provided as follows.
In an embodiment of the first aspect, the step of determining the ith circle according to the radius of curvature of the image and the input coordinates of the pixel points in the first image includes:
Calculating to obtain a first circle center coordinate with the distance between the first coordinate and the second coordinate being the radius of curvature of the image; the first coordinate is the input coordinate of the first pixel point of the ith row of the first image; the second coordinate is the input coordinate of the last pixel point of the ith row of the first image;
and determining the ith circle by taking the first circle center coordinate as a circle center and the curvature radius of the image as a radius.
In an embodiment of the second aspect, the step of determining the ith circle according to the radius of curvature of the image and the input coordinates of the pixel points in the first image includes:
calculating a second center coordinate which is located on the ith center vertical line and has a distance of the image curvature radius relative to the third coordinate; the ith perpendicular bisector is the perpendicular bisector of the ith line segment; the ith line segment is a line segment taking a first pixel point and a last pixel point of an ith line of the first image as endpoints; the third coordinate is an intersection point coordinate of the ith line segment and the ith perpendicular bisector;
and determining the ith circle by taking the second circle center coordinate as a circle center and the curvature radius of the image as a radius.
The embodiment provides two optional ith round determination schemes, and for the same screen, the two schemes can be selected to ensure the display effect in a single screen; for different screens, different ith round determination schemes can be selected according to the characteristics of the screen and the first image.
For example, for the first arc-shaped screen 400 and the first image 401 shown in fig. 4, the bottom edge length of the first image 401 (actually, the number of pixels at the bottom edge is considered, and since the pixels are generally uniformly distributed in the first image, it is feasible and convenient to calculate by using the length instead of the number of pixels) is consistent with the bottom arc length of the first arc-shaped screen 400 (similarly, the number of display points of the bottom arc is considered actually), on the basis that each row of the first image 401 and the corresponding arc length of the first arc-shaped screen 400 can be better realized correspondingly, then the second scheme can be adopted to more conveniently match the distance between the pixels in the first image row and the distance between the display points in the screen arc, so as to achieve the effect of convenient calculation;
as for the second arc-shaped screen 500 and the second first image 501 shown in fig. 5, the length of the bottom edge (similarly, the number of pixels at the bottom edge is considered) of the second first image 501 is consistent with the distance between the two end points of the arc line at the bottom of the second arc-shaped screen 500, on the basis that the distances between each row of the second first image 501 and the two end points of the arc line of the corresponding second arc-shaped screen 500 can be better realized, the first scheme can be adopted to better match the pitch proportion of the pixels in the first image row with the pitch proportion of the display points in the arc line of the screen, so that the effect of being convenient for calculation is achieved.
Further, the first curved screen 400 and the second curved screen 500 may be used in combination in practical applications, as shown in fig. 6, so that the above-described first scheme and second scheme may be performed simultaneously in some scenes where they are used in combination.
Furthermore, the determination of the ith circle can be repeated until the ith circles for all the rows of the first image are determined.
The beneficial effects of this embodiment lie in:
by providing two different ith circle determining methods respectively, the method can adapt to the calculation requirements of different input images and screen pairs, thereby achieving the effects of rapid calculation and saving calculation resources.
According to any of the above embodiments, the present embodiment provides an optional output coordinate calculating method, specifically:
the step of constructing the coordinate transformation map of the ith first set to the ith second set based on the ith circle includes:
for the jth pixel point in the ith row of the first image, determining the coordinate of the intersection point of the jth ray and the ith circle as the mapping coordinate of the jth pixel point in the ith second set, and constructing the coordinate transformation relation from the jth pixel point in the ith row of the first image to the jth pixel point in the ith second set; the j-th ray is a ray pointing to a j-th pixel point in an i-th row of the first image by taking the circle center of the i-th circle as an endpoint; the number of the pixel points in the ith first set is consistent with the number of the pixel points in the ith second set, and j is a positive integer not greater than the number of the pixel points in the ith row of the first image.
Further, an embodiment example in the first conversion scenario is as follows.
The step of calculating the output coordinates of the pixel point according to the ith circle and the input coordinates includes:
for a j-th pixel point in an i-th row of the first image, determining an intersection point coordinate of a j-th ray and the i-th circle as an output coordinate of the pixel point; the j-th ray is a ray pointing to the input coordinate of the pixel point by taking the circle center of the i-th circle as an endpoint; j is a positive integer not greater than the number of pixels in the ith row of the first image.
Further, the step of determining, for the jth pixel point in the ith row of the first image, coordinates of an intersection point of the jth ray and the ith circle as mapped coordinates of the jth pixel point in the ith second set includes:
constructing a j-th triangle aiming at a j-th pixel point in an i-th row of the first image; the j-th triangle is a right triangle taking the circle center of the i-th circle, the j-th pixel point coordinate in the i-th row of the first image and the third coordinate as vertexes; the third coordinate is an intersection point coordinate of the ith line segment and the ith perpendicular bisector; the ith perpendicular bisector is the perpendicular bisector of the ith line segment; the ith line segment is a line segment taking a first pixel point and a last pixel point of an ith line of the first image as endpoints;
Calculating the distance between the third coordinate and the coordinate of the j pixel point in the ith row of the first image and marking the distance as a first distance; calculating the distance between the third coordinate and the center of the ith circle and marking the distance as a second distance;
calculating radian corresponding to the ratio of the first distance to the second distance by using an arctangent function and recording the radian as j radian;
and calculating the coordinate of the jth pixel point in the ith second set according to the jth radian and the ith circle.
Correspondingly, an embodiment example in the first transition scenario is as follows.
The step of determining, for the jth pixel point in the ith row of the first image, coordinates of an intersection point of the jth ray and the ith circle as output coordinates of the pixel point includes:
constructing a j-th triangle aiming at a j-th pixel point in an i-th row of the first image; the j-th triangle is a right triangle taking the circle center of the i-th circle, the input coordinates of the j-th pixel point and the third coordinates as vertexes; the third coordinate is an intersection point coordinate of the ith line segment and the ith perpendicular bisector; the ith perpendicular bisector is the perpendicular bisector of the ith line segment; the ith line segment is a line segment taking a first pixel point and a last pixel point of an ith line of the first image as endpoints;
Calculating the distance between the third coordinate and the input coordinate of the jth pixel point and marking the distance as a first distance; calculating the distance between the third coordinate and the center of the ith circle and marking the distance as a second distance;
calculating radian corresponding to the ratio of the first distance to the second distance by using an arctangent function and recording the radian as j radian;
and calculating the output coordinates of the jth pixel point according to the jth radian and the ith circle.
It should be noted that, the step of calculating the output coordinates for the jth pixel point can be repeatedly performed until all the output coordinates of the pixel points are calculated.
After the output coordinates of all the pixels are calculated, updating the value of i, and repeating the steps again until the output coordinates of all the pixels of the first image are calculated.
In an alternative embodiment, the above steps may be refined as follows:
1. setting the distance from the straight line to the vertex (circle center);
2. knowing the starting and ending coordinates, the middle coordinates of the two can be calculated, the line data is on a straight line, then the circle center coordinates can be calculated, and the circle center and the current starting and ending position form an equilateral triangle;
3. each point, the middle point and the circle center on the line segment form a right triangle in turn;
4. Drawing a circle according to the radius and forming a section of arc line with the initial end position, wherein points passing through the line segment from the circle center and intersecting with the arc line are points needing to change the straight line into the arc line;
5. the angle can be calculated according to the formed right triangle, and the nth point needs to rotate a certain angle from the starting point to be the sequential point coordinate;
6. and calculating by using a sine function and a cosine function to obtain an output coordinate.
The solution of the present embodiment can be used to solve the following problems:
the LED screen lamp point arrangement is limited by the physical structure of the lamp panel, if the lamp panel arrangement has a certain curvature in the production of the lamp panel, the horizontally imaged image has a certain curvature along with the structure of the lamp panel, and effective pixel points need to be deflected to a certain extent for ensuring the normal display of straight lines in the image, so that the horizontal straight lines in the image can be ensured to be displayed as straight lines in the arc-shaped lamp panel.
In other words, according to the scheme of the embodiment, each straight line in the lamp panel is beaten on a curve which is a certain distance from the center of the sphere according to a certain curvature through curvature calculation, so that the accuracy of the arc-shaped lamp panel on image presentation is ensured. Meanwhile, based on the scheme of the embodiment, a convenient humanized operation software interface can be formed, and various requirements of actual production can be met. The effect of liberating productivity is achieved.
In summary, the scheme of the embodiment adopts the calculation of the distance row data carrying of the row of data in the current data set from the center point of the sphere as the arc length, and the effective pixel points carried by the current row are accurately distributed on the curvature curve which is the same distance from the center of the sphere, so that the point required by the accurate corresponding arc display of the current row of data is ensured.
Thereby:
when in spherical display, the effect of shielding the curvature of the spherical lamp panel and accurately displaying the image of the loaded area is achieved through an algorithm, and the image of the loaded area is accurately displayed through splicing of a plurality of arc single plates.
In the actual production process, users can face complex and various demands, software is provided for the users to complete functions, the respective actual demands are met, each row of data is displayed on the arc-shaped lamp panel in a carrying way through an algorithm during the display of the spherical screen, and the display accuracy is guaranteed.
The beneficial effects of this embodiment lie in:
the quick determination of the output coordinates is realized through the elementary function (inverse trigonometric function), so that the time required by the conversion of the special-shaped screen images is reduced, the conversion efficiency is improved, and the animation display function based on multi-frame images can be realized on the basis.
According to any of the above embodiments, the present embodiment provides another method for calculating output coordinates, specifically:
The step of determining, for the jth pixel point in the ith row of the first image, coordinates of an intersection point of the jth ray and the ith circle as mapping coordinates of the jth pixel point in the ith second set includes:
determining that pixels in an ith second set are uniformly distributed, and determining an ith arc from a major arc or a minor arc on the ith circle which takes a first coordinate and a second coordinate as endpoints; the first coordinate is the first pixel point coordinate of the ith row of the first image; the second coordinate is the coordinate of the last pixel point of the ith row of the first image;
and calculating to obtain the mapping coordinate of the j-th pixel point in the i-th second set by taking the output coordinate of the i-th row of the first image as constraint, wherein the output coordinate is uniformly distributed on the i-th arc.
In an alternative embodiment in the first switching scenario:
the step 5 of calculating the output coordinates of the pixel point according to the ith circle and the input coordinates includes:
determining that the pixels of the ith row of the first image are uniformly distributed, and determining an ith arc on the ith circle by taking the first coordinate and the second coordinate as the major arc or minor arc of the endpoint;
and calculating the output coordinates by taking the fact that the output coordinates of the pixel points of the ith row of the first image are uniformly distributed on the ith arc as constraint.
0 in a preferred embodiment, the determination of the ith circle adopts the first scheme, so that the ith arc determined by the first coordinate and the second coordinate can better correspond to the display point of the screen, and on the basis, the output coordinates of the first image with uniformly distributed pixels are calculated, and due to the premise of uniform pixels, the output coordinates only need to be uniformly distributed on the ith arc, so that the method has faster calculation speed compared with the scheme based on the inverse trigonometric function.
It should be noted that, the major arc or the minor arc of the ith arc is determined by the major arc or the minor arc of the ith circle formed by the display points corresponding to the ith row of pixels of the first image, that is, in each embodiment of the present application, at least a part of the ith circle may be matched with the display points corresponding to the ith row of pixels of the first image in the screen.
The beneficial effects of this embodiment lie in:
the output coordinates of the first image with uniformly distributed pixels are calculated, and due to the premise 0 of uniform pixels, the output coordinates only need to be uniformly distributed on the ith arc, so that the calculation speed is faster compared with the scheme based on the inverse trigonometric function.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
5 corresponds to the image data conversion method described in the above embodiments, fig. 2 shows a block diagram of the image data conversion apparatus provided in the embodiment of the present application, and for convenience of explanation, only the portions related to the embodiment of the present application are shown.
Referring to fig. 2, the apparatus includes:
an obtaining module 201, configured to obtain pixel coordinates of a first image, pixel coordinates of a second image, and an image curvature radius of the second image;
a mapping module 202, configured to calculate a reversible mapping relationship from a pixel point in the first image to a pixel point in the second image according to the image curvature radius; the reversible mapping relation refers to coordinate transformation mapping from a preset ith first set of pixels in the first image to a preset ith second set of pixels in the second image; the number of the first sets is the same as the number of the second sets; i is a positive integer not greater than the first set number;
the conversion module 203 is configured to convert the first image into an image with pixel coordinates of the second image according to the reversible mapping relationship, or convert the second image into an image with pixel coordinates of the first image.
Further, the ith row of pixel point sets of the first image form the ith set, and the mapping module 202 includes:
an ith circle determining unit, configured to determine an ith circle according to the radius of curvature of the image and coordinates of a pixel point in the first image; wherein the radius of the ith circle is consistent with the radius of curvature of the image;
and an output mapping unit, configured to construct a coordinate transformation mapping from the ith first set to the ith second set based on the ith circle.
The ith circle determining unit includes:
the first circle center coordinate determining subunit is used for calculating and obtaining a first circle center coordinate with the distance between the first coordinate and the second coordinate being the radius of curvature of the image of the ith second set; the first coordinate is the first pixel point coordinate of the ith row of the first image; the second coordinate is the coordinate of the last pixel point of the ith row of the first image;
and the first circle determining subunit is used for determining the ith circle by taking the first circle center coordinate as a circle center and taking the radius of curvature of the image of the ith second set as a radius.
Alternatively, the ith circle determining unit includes:
a second center coordinate determining subunit, configured to calculate a second center coordinate located on the ith center vertical line, where the distance relative to the third coordinate is the radius of curvature of the image of the ith second set; the ith perpendicular bisector is the perpendicular bisector of the ith line segment; the ith line segment is a line segment taking a first pixel point and a last pixel point of an ith line of the first image as endpoints; the third coordinate is an intersection point coordinate of the ith line segment and the ith perpendicular bisector;
And the second circle determining subunit is used for determining the ith circle by taking the second circle center coordinates as a circle center and the radius of curvature of the image of the ith second set as a radius.
The output mapping unit includes:
a ray subunit, configured to determine, for a jth pixel point in an ith row of the first image, a coordinate of an intersection point of the jth ray and the ith circle as a mapping coordinate of the jth pixel point in the ith second set, and construct a coordinate transformation relationship from the jth pixel point in the ith row of the first image to the jth pixel point in the ith second set; the j-th ray is a ray pointing to a j-th pixel point in an i-th row of the first image by taking the circle center of the i-th circle as an endpoint; the number of the pixel points in the ith first set is consistent with the number of the pixel points in the ith second set, and j is a positive integer not greater than the number of the pixel points in the ith row of the first image.
The ray subunit comprises:
a j-th triangle section for constructing a j-th triangle for a j-th pixel point in an i-th row of the first image; the j-th triangle is a right triangle taking the circle center of the i-th circle, the j-th pixel point coordinate in the i-th row of the first image and the third coordinate as vertexes; the third coordinate is an intersection point coordinate of the ith line segment and the ith perpendicular bisector; the ith perpendicular bisector is the perpendicular bisector of the ith line segment; the ith line segment is a line segment taking a first pixel point and a last pixel point of an ith line of the first image as endpoints;
A distance section for calculating a distance between the third coordinate and a j-th pixel point coordinate in an i-th row of the first image and recording the distance as a first distance; calculating the distance between the third coordinate and the center of the ith circle and marking the distance as a second distance;
an arc tangent part for calculating radian corresponding to the ratio of the first distance to the second distance by using an arc tangent function and recording the radian as j radian;
and the coordinate part is used for calculating the coordinate of the jth pixel point in the ith second set according to the jth radian and the ith circle.
Alternatively, the output coordinate unit includes:
an ith arc subunit, configured to determine that pixels in the ith second set are uniformly distributed, and determine an ith arc from a major arc or a minor arc on the ith circle with the first coordinate and the second coordinate as endpoints; the first coordinate is the first pixel point coordinate of the ith row of the first image; the second coordinate is the coordinate of the last pixel point of the ith row of the first image;
and the coordinate subunit is used for calculating and obtaining the mapping coordinate of the j-th pixel point in the i-th second set by taking the output coordinate of the i-th row of the pixel point of the first image as a constraint, wherein the output coordinate is uniformly distributed on the i-th arc.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The embodiment of the present application further provides a terminal device, as shown in fig. 3, where the terminal device 30 includes: at least one processor 301, a memory 302 and a computer program 303 stored in the memory and executable on the at least one processor, which processor implements the steps of any of the various method embodiments described above when it executes the computer program.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps that may implement the various method embodiments described above.
Embodiments of the present application provide a computer program product which, when run on a mobile terminal, causes the mobile terminal to perform steps that may be performed in the various method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other manners. For example, the apparatus/network device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.
Claims (10)
1. An image data conversion method, comprising:
acquiring pixel point coordinates of a first image, pixel point coordinates of a second image and an image curvature radius of the second image;
Calculating a reversible mapping relation from the pixel point in the first image to the pixel point in the second image according to the curvature radius of the image; the reversible mapping relation refers to coordinate transformation mapping from a preset ith first set of pixels in the first image to a preset ith second set of pixels in the second image; the number of the first sets is the same as the number of the second sets; i is a positive integer not greater than the first set number;
and converting the first image into an image with pixel coordinates of the second image according to the reversible mapping relation, or converting the second image into an image with pixel coordinates of the first image.
2. The image data conversion method according to claim 1, wherein the step of calculating the reversible mapping relationship of the pixels in the first image to the pixels in the second image based on the image radius of curvature comprises:
determining an ith circle according to the curvature radius of the image and coordinates of pixel points in the first image; wherein the radius of the ith circle is consistent with the radius of curvature of the image;
and constructing coordinate transformation mapping from the ith first set to the ith second set based on the ith circle.
3. The image data conversion method according to claim 2, wherein the first image is an image based on pixels arranged in a straight line, the ith first set is constituted by pixels of the ith row of the first image, and the step of determining the ith circle based on the radius of curvature of the image and coordinates of the pixels in the first image includes:
calculating to obtain a first center coordinate of which the distances relative to the first coordinate and the second coordinate are the radius of curvature of the image of the ith second set; the first coordinate is the first pixel point coordinate of the ith row of the first image; the second coordinate is the coordinate of the last pixel point of the ith row of the first image;
and determining the ith circle by taking the first circle center coordinate as a circle center and the radius of curvature of the image of the ith second set as a radius.
4. The image data conversion method according to claim 3, wherein the first image is an image based on pixels arranged in a straight line, the ith first set is constituted by pixels of the ith row of the first image, and the step of determining the ith circle based on the radius of curvature of the image and coordinates of the pixels in the first image includes:
Calculating a second center coordinate which is located on the ith center vertical line and has a distance from the third coordinate as the radius of curvature of the image of the ith second set; the ith perpendicular bisector is the perpendicular bisector of the ith line segment; the ith line segment is a line segment taking a first pixel point and a last pixel point of an ith line of the first image as endpoints; the third coordinate is an intersection point coordinate of the ith line segment and the ith perpendicular bisector;
and determining the ith circle by taking the second circle center coordinates as a circle center and the radius of curvature of the image of the ith second set as a radius.
5. The image data conversion method according to claim 3 or 4, wherein the step of constructing the coordinate transformation map of the i-th first set to the i-th second set based on the i-th circle includes:
for the jth pixel point in the ith row of the first image, determining the coordinate of the intersection point of the jth ray and the ith circle as the mapping coordinate of the jth pixel point in the ith second set, and constructing the coordinate transformation relation from the jth pixel point in the ith row of the first image to the jth pixel point in the ith second set; the j-th ray is a ray pointing to a j-th pixel point in an i-th row of the first image by taking the circle center of the i-th circle as an endpoint; the number of the pixel points in the ith first set is consistent with the number of the pixel points in the ith second set, and j is a positive integer not greater than the number of the pixel points in the ith row of the first image.
6. The image data conversion method according to claim 5, wherein the step of determining, for the j-th pixel point in the i-th row of the first image, coordinates of an intersection of a j-th ray and the i-th circle as mapped coordinates of the j-th pixel point in the i-th second set includes:
constructing a j-th triangle aiming at a j-th pixel point in an i-th row of the first image; the j-th triangle is a right triangle taking the circle center of the i-th circle, the j-th pixel point coordinate in the i-th row of the first image and the third coordinate as vertexes; the third coordinate is an intersection point coordinate of the ith line segment and the ith perpendicular bisector; the ith perpendicular bisector is the perpendicular bisector of the ith line segment; the ith line segment is a line segment taking a first pixel point and a last pixel point of an ith line of the first image as endpoints;
calculating the distance between the third coordinate and the coordinate of the j pixel point in the ith row of the first image and marking the distance as a first distance; calculating the distance between the third coordinate and the center of the ith circle and marking the distance as a second distance;
calculating radian corresponding to the ratio of the first distance to the second distance by using an arctangent function and recording the radian as j radian;
And calculating the coordinate of the jth pixel point in the ith second set according to the jth radian and the ith circle.
7. The image data conversion method according to claim 5, wherein the step of determining, for the j-th pixel point in the i-th row of the first image, coordinates of an intersection of a j-th ray and the i-th circle as mapped coordinates of the j-th pixel point in the i-th second set includes:
determining that pixels in an ith second set are uniformly distributed, and determining an ith arc from a major arc or a minor arc on the ith circle which takes a first coordinate and a second coordinate as endpoints; the first coordinate is the first pixel point coordinate of the ith row of the first image; the second coordinate is the coordinate of the last pixel point of the ith row of the first image;
and calculating to obtain the mapping coordinate of the j-th pixel point in the i-th second set by taking the output coordinate of the i-th row of the first image as constraint, wherein the output coordinate is uniformly distributed on the i-th arc.
8. An image data conversion apparatus, comprising:
the acquisition module is used for acquiring the first image and the image curvature radius of the screen;
the mapping module is used for calculating the output coordinates of the pixel points in the first image according to the curvature radius of the image; the output coordinates of the preset pixel points of the ith set in the first image are all coordinate points on the ith circle, and the radius of the ith circle is consistent with the curvature radius of the image; i is a positive integer not greater than the number of the first image pixel groups;
And the conversion module is used for displaying the pixel points to the screen according to the output coordinates of the pixel points.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211640829.9A CN116188248A (en) | 2022-12-19 | 2022-12-19 | Image data conversion method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211640829.9A CN116188248A (en) | 2022-12-19 | 2022-12-19 | Image data conversion method, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116188248A true CN116188248A (en) | 2023-05-30 |
Family
ID=86433494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211640829.9A Pending CN116188248A (en) | 2022-12-19 | 2022-12-19 | Image data conversion method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116188248A (en) |
-
2022
- 2022-12-19 CN CN202211640829.9A patent/CN116188248A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4763280A (en) | Curvilinear dynamic image generation system | |
US20230298189A1 (en) | Method for reconstructing three-dimensional object combining structured light and photometry and terminal device | |
US20070146197A1 (en) | Radar scan converter and method for transforming | |
US6369814B1 (en) | Transformation pipeline for computing distortion correction geometry for any design eye point, display surface geometry, and projector position | |
CN110989949B (en) | Method and device for special-shaped splicing display | |
CN111915712B (en) | Illumination rendering method and device, computer readable medium and electronic equipment | |
CN110555085A (en) | Three-dimensional model loading method and device | |
CN115147499A (en) | Calibration parameter determination method, hybrid calibration plate, device, equipment and medium | |
CN106934764A (en) | A kind of image processing method, device | |
CN107330849A (en) | A kind of method of Panorama Mosaic, device, equipment and storage medium | |
CN1130666C (en) | Graphic obliterator | |
CN116188248A (en) | Image data conversion method, device, equipment and medium | |
CN104297794A (en) | Seismic data mapping method and system | |
CN105741335B (en) | A kind of multi-level war game map fast drawing method based on blocking organization | |
CN108734665A (en) | A kind of bearing calibration of image, device, equipment and storage medium | |
CN109493423A (en) | The calculation method and device of the midpoint of three-dimensional earth model surface two o'clock | |
CN114170367B (en) | Method, apparatus, storage medium, and device for infinite-line-of-sight pyramidal heatmap rendering | |
CN114820904A (en) | Illumination-supporting pseudo-indoor rendering method, apparatus, medium, and device | |
CN103675763A (en) | Hardware acceleration based vectorized VTS (vessel traffic service) system radar video drawing method | |
CN114067757A (en) | Data processing method and device and display device | |
CN111260723A (en) | Barycenter positioning method of bar and terminal equipment | |
US20030169258A1 (en) | Fast line drawing method | |
CN111062874B (en) | Text image display method, device, equipment and storage medium | |
WO1987003980A2 (en) | Comprehensive distortion correction in a real time imaging system | |
CN116894933B (en) | Three-dimensional model comparison method, device, equipment 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 |