[go: up one dir, main page]

CN112669429A - Image distortion rendering method and device - Google Patents

Image distortion rendering method and device Download PDF

Info

Publication number
CN112669429A
CN112669429A CN202110016970.0A CN202110016970A CN112669429A CN 112669429 A CN112669429 A CN 112669429A CN 202110016970 A CN202110016970 A CN 202110016970A CN 112669429 A CN112669429 A CN 112669429A
Authority
CN
China
Prior art keywords
image
pixel point
coordinate value
value
calculating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110016970.0A
Other languages
Chinese (zh)
Inventor
刘志杰
陈竞郴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gaoding Xiamen Technology Co Ltd
Original Assignee
Gaoding Xiamen 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 Gaoding Xiamen Technology Co Ltd filed Critical Gaoding Xiamen Technology Co Ltd
Priority to CN202110016970.0A priority Critical patent/CN112669429A/en
Publication of CN112669429A publication Critical patent/CN112669429A/en
Priority to PCT/CN2021/099768 priority patent/WO2022147964A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses an image distortion rendering method, medium, equipment and device, wherein the method comprises the following steps: acquiring an original image and an image center point corresponding to the original image, and calculating the distance from any pixel point in the original image to the image center point; acquiring a visual field range parameter of a simulation camera, and calculating a Z coordinate value of the pixel point on the lens according to the distance and the visual field range parameter of the simulation camera; calculating a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value, and modifying the pixel value of the pixel point according to the pixel value of the target pixel point; the image can be automatically rendered into a final image with a distortion effect, and convenience is provided for the image processing process of a designer.

Description

Image distortion rendering method and device
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image warping and rendering method, a computer-readable storage medium, a computer device, and an image warping and rendering apparatus.
Background
In the process of taking pictures by using the camera, when the camera takes pictures in a short distance, the final taken picture has a distorted effect. The distortion effect often causes the images obtained by the final shooting to have different design aesthetics.
In the related art, in order to make the finally obtained image have a distortion effect, most designers perform actual operation processing in the process of taking a picture by using a camera; when a corresponding picture is taken, it is difficult for a designer to make an image with such a distortion effect by means of post-processing.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the art described above. Therefore, an object of the present invention is to provide an image warping rendering method, which can automatically render an image into a final image with a warping effect, and facilitate an image processing process of a designer.
A second object of the invention is to propose a computer-readable storage medium.
A third object of the invention is to propose a computer device.
A fourth object of the present invention is to provide an image warping rendering apparatus.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides an image warping rendering method, including the following steps: acquiring an original image and an image center point corresponding to the original image, and calculating the distance from any pixel point in the original image to the image center point; acquiring a visual field range parameter of a simulation camera, and calculating a Z coordinate value of the pixel point on the lens according to the distance and the visual field range parameter of the simulation camera; and calculating a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value, and modifying the pixel value of the pixel point according to the pixel value of the target pixel point.
According to the image distortion rendering method, firstly, an original image and an image center point corresponding to the original image are obtained, and the distance from any pixel point in the original image to the image center point is calculated; then, acquiring a visual field range parameter of a simulation camera, and calculating a Z coordinate value of the pixel point on the lens according to the distance and the visual field range parameter of the simulation camera; then, calculating a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value, and modifying the pixel value of the pixel point according to the pixel value of the target pixel point; therefore, the image can be automatically rendered into a final image with a distortion effect, and convenience is provided for the image processing process of a designer.
In addition, the image warping rendering method proposed according to the above embodiment of the present invention may further have the following additional technical features:
optionally, calculating a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value includes: calculating a first arc tangent value according to the distance and the Z coordinate value, and calculating a second arc tangent value according to the coordinate value of the pixel point; and calculating the coordinate value of the target pixel point according to the coordinate value of the image center point, the first arc tangent value and the second arc tangent value.
Optionally, the coordinate value of the target pixel point is calculated according to the following formula:
r=atan(d,z)
phi=atan(y1,x1)
(x2,y2)=(r*cos(phi)+center·x,r*sin(phi)+center·y)
wherein r represents a first arctangent value, d represents a distance between the pixel point and the center point of the image, Z represents a Z coordinate value, phi represents a second arctangent value, (x)1,y1) The coordinate value (x) of the pixel point is represented2,y2) The coordinate value of the target pixel point is shown, center X shows the X coordinate value of the central point of the image, and center Y shows the Y coordinate value of the central point of the image.
To achieve the above object, a second embodiment of the present invention provides a computer-readable storage medium, on which an image warping rendering program is stored, and the image warping rendering program, when executed by a processor, implements the image warping rendering method as described above.
According to the computer-readable storage medium of the embodiment of the invention, the image distortion rendering program is stored, so that the processor realizes the image distortion rendering method when executing the image distortion rendering program, and the image can be automatically rendered into a final image with a distortion effect, thereby providing convenience for the image processing process of a designer.
To achieve the above object, a third embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the image warping rendering method according to any one of claims 1 to 3 when executing the program.
According to the computer equipment provided by the embodiment of the invention, the image distortion rendering program is stored through the memory, so that the processor realizes the image distortion rendering method when executing the image distortion rendering program, the image can be automatically rendered into a final image with a distortion effect, and convenience is provided for the image processing process of a designer.
In order to achieve the above object, a fourth aspect of the present invention provides an image warping and rendering apparatus, including: the first calculation module is used for acquiring an original image and an image center point corresponding to the original image, and calculating the distance from any pixel point in the original image to the image center point; the second calculation module is used for acquiring the field range parameter of the analog camera and calculating the Z coordinate value of the pixel point on the lens according to the distance and the field range parameter of the analog camera; and the rendering module is used for calculating a target pixel point coordinate value corresponding to the pixel point according to the Z coordinate value and modifying the pixel value of the pixel point according to the pixel value of the target pixel point.
According to the image distortion rendering device provided by the embodiment of the invention, the first calculation module is arranged for acquiring an original image and an image center point corresponding to the original image, and calculating the distance from any pixel point in the original image to the image center point; the second calculation module is used for acquiring the visual field range parameter of the analog camera and calculating the Z coordinate value of the pixel point on the lens according to the distance and the visual field range parameter of the analog camera; the rendering module is used for calculating a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value and modifying the pixel value of the pixel point according to the pixel value of the target pixel point; therefore, the image can be automatically rendered into a final image with a distortion effect, and convenience is provided for the image processing process of a designer.
In addition, the image warping and rendering apparatus according to the above embodiment of the present invention may further have the following additional technical features:
optionally, calculating a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value includes: calculating a first arc tangent value according to the distance and the Z coordinate value, and calculating a second arc tangent value according to the coordinate value of the pixel point; and calculating the coordinate value of the target pixel point according to the coordinate value of the image center point, the first arc tangent value and the second arc tangent value.
Optionally, the coordinate value of the target pixel point is calculated according to the following formula:
r=atan(d,z)
phi=atan(y1,x1)
(x2,y2)=(r*cos(phi)+center·x,r*sin(phi)+center·y)
wherein r represents a first arctangent value, d represents a distance between the pixel point and the center point of the image, Z represents a Z coordinate value, phi represents a second arctangent value, (x)1,y1) The coordinate value (x) of the pixel point is represented2,y2) The coordinate value of the target pixel point is shown, center X shows the X coordinate value of the central point of the image, and center Y shows the Y coordinate value of the central point of the image.
Drawings
FIG. 1 is a flowchart illustrating an image warping and rendering method according to an embodiment of the present invention;
fig. 2 is a block diagram illustrating an image warping rendering apparatus according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
In the related art, after an image is captured, it is difficult to make the image have a distortion effect by means of post-processing; according to the image distortion rendering method, firstly, an original image and an image center point corresponding to the original image are obtained, and the distance from any pixel point in the original image to the image center point is calculated; then, acquiring a visual field range parameter of a simulation camera, and calculating a Z coordinate value of the pixel point on the lens according to the distance and the visual field range parameter of the simulation camera; then, calculating a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value, and modifying the pixel value of the pixel point according to the pixel value of the target pixel point; therefore, the image can be automatically rendered into a final image with a distortion effect, and convenience is provided for the image processing process of a designer.
In order to better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Fig. 1 is a flowchart illustrating an image warping and rendering method according to an embodiment of the present invention, as shown in fig. 1, the image warping and rendering method includes the following steps:
s101, acquiring an original image and an image center point corresponding to the original image, and calculating the distance from any pixel point in the original image to the image center point.
That is to say, an original image input by a user and an image center point corresponding to the original image are obtained, and then, the distance from any one pixel point in the original image to the image center point is calculated.
The acquisition mode of the image center point corresponding to the original image can be various; for example, after the user uploads the original image, the specified information of the user for the image center point is obtained, so as to determine the image center point according to the specified information; or selecting the central point of the image in a preset condition mode; or, the method of training the recognition model is preselected, so that after the original image is input, the feature information of the original image is obtained through the recognition model, and the image center point is determined according to the feature information.
And S102, acquiring the vision range parameter of the analog camera, and calculating the Z coordinate value of the pixel point on the lens according to the distance and the vision range parameter of the analog camera.
As an example, assuming that the coordinates of the center point of the image are (center · x, center · y) and the coordinates of any one pixel point are (x, y), the relative coordinate value (x, y) between the pixel point and the center point of the image can be calculated according to the coordinates of the two points1,y1) Further, the distance d between the pixel point and the image center point is sqrt (x-center · x, y-center · y) and can be calculated from the relative coordinate value1 2+y1 2) (ii) a Then, according to the distance and the parameters of the field range of the analog camera, the Z coordinate value of the pixel point on the lens can be calculated: z-sqrt (1+ d)2*fieldofview)。
S103, calculating a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value, and modifying the pixel value of the pixel point according to the pixel value of the target pixel point.
That is, determining a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value, then sampling the target pixel point according to the coordinate value of the target pixel point to obtain a pixel value of the target pixel point, and modifying the pixel value of the pixel point by using the pixel value of the target pixel point; therefore, after all the pixel points in the original image are traversed in the mode, the distortion rendering of the original pixel points is completed.
In some embodiments, calculating the coordinate value of the target pixel point corresponding to the pixel point according to the Z coordinate value includes:
calculating a first arc tangent value according to the distance and the Z coordinate value, and calculating a second arc tangent value according to the coordinate value of the pixel point;
and calculating the coordinate value of the target pixel point according to the coordinate value of the image center point, the first arc tangent value and the second arc tangent value.
As an example, the coordinate value of the target pixel point is calculated according to the following formula:
r=atan(d,z)
phi=atan(y1,x1)
(x2,y2)=(r*cos(phi)+center·x,r*sin(phi)+center·y)
wherein r represents a first arctangent value, d represents a distance between the pixel point and the center point of the image, Z represents a Z coordinate value, phi represents a second arctangent value, (x)1,y1) The coordinate value (x) of the pixel point is represented2,y2) The coordinate value of the target pixel point is shown, center X shows the X coordinate value of the central point of the image, and center Y shows the Y coordinate value of the central point of the image.
In summary, according to the image distortion rendering method of the embodiment of the present invention, first, an original image and an image center point corresponding to the original image are obtained, and a distance from any one pixel point in the original image to the image center point is calculated; then, acquiring a visual field range parameter of a simulation camera, and calculating a Z coordinate value of the pixel point on the lens according to the distance and the visual field range parameter of the simulation camera; then, calculating a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value, and modifying the pixel value of the pixel point according to the pixel value of the target pixel point; therefore, the image can be automatically rendered into a final image with a distortion effect, and convenience is provided for the image processing process of a designer.
In order to implement the above embodiments, an embodiment of the present invention proposes a computer-readable storage medium on which an image warping rendering program is stored, which, when executed by a processor, implements the image warping rendering method as described above.
According to the computer-readable storage medium of the embodiment of the invention, the image distortion rendering program is stored, so that the processor realizes the image distortion rendering method when executing the image distortion rendering program, and the image can be automatically rendered into a final image with a distortion effect, thereby providing convenience for the image processing process of a designer.
In order to achieve the above embodiments, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the image warping rendering method according to any one of claims 1 to 3 when executing the program.
According to the computer equipment provided by the embodiment of the invention, the image distortion rendering program is stored through the memory, so that the processor realizes the image distortion rendering method when executing the image distortion rendering program, the image can be automatically rendered into a final image with a distortion effect, and convenience is provided for the image processing process of a designer.
In order to implement the foregoing embodiments, an embodiment of the present invention provides an image warping and rendering apparatus, as shown in fig. 2, the image warping and rendering apparatus includes: a first calculation module 10, a second calculation module 20 and a rendering module 30.
The first calculation module 10 is configured to obtain an original image and an image center point corresponding to the original image, and calculate a distance from any one pixel point in the original image to the image center point;
the second calculation module 20 is configured to acquire a field range parameter of the analog camera, and calculate a Z coordinate value of the pixel point on the lens according to the distance and the field range parameter of the analog camera;
the rendering module 30 is configured to calculate a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value, and modify the pixel value of the pixel point according to the pixel value of the target pixel point.
In some embodiments, calculating the coordinate value of the target pixel point corresponding to the pixel point according to the Z coordinate value includes: calculating a first arc tangent value according to the distance and the Z coordinate value, and calculating a second arc tangent value according to the coordinate value of the pixel point; and calculating the coordinate value of the target pixel point according to the coordinate value of the image center point, the first arc tangent value and the second arc tangent value.
In some embodiments, the target pixel point coordinate value is calculated according to the following formula:
r=atan(d,z)
phi=atan(y1,x1)
(x2,y2)=(r*cos(phi)+center·x,r*sin(phi)+center·y)
wherein r represents a first arctangent value, d represents a distance between the pixel point and the center point of the image, Z represents a Z coordinate value, phi represents a second arctangent value, (x)1,y1) The coordinate value (x) of the pixel point is represented2,y2) The coordinate value of the target pixel point is shown, center X shows the X coordinate value of the central point of the image, and center Y shows the Y coordinate value of the central point of the image.
It should be noted that the above description about the image warping rendering method in fig. 1 is also applicable to the image warping rendering apparatus, and is not repeated herein.
In summary, according to the image distortion rendering apparatus in the embodiment of the present invention, the first calculating module is configured to obtain the original image and the image center point corresponding to the original image, and calculate the distance from any one pixel point in the original image to the image center point; the second calculation module is used for acquiring the visual field range parameter of the analog camera and calculating the Z coordinate value of the pixel point on the lens according to the distance and the visual field range parameter of the analog camera; the rendering module is used for calculating a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value and modifying the pixel value of the pixel point according to the pixel value of the target pixel point; therefore, the image can be automatically rendered into a final image with a distortion effect, and convenience is provided for the image processing process of a designer.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above should not be understood to necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (8)

1. An image warping rendering method, comprising the steps of:
acquiring an original image and an image center point corresponding to the original image, and calculating the distance from any pixel point in the original image to the image center point;
acquiring a visual field range parameter of a simulation camera, and calculating a Z coordinate value of the pixel point on the lens according to the distance and the visual field range parameter of the simulation camera;
and calculating a coordinate value of a target pixel point corresponding to the pixel point according to the Z coordinate value, and modifying the pixel value of the pixel point according to the pixel value of the target pixel point.
2. The image warping rendering method of claim 1, wherein calculating a coordinate value of a target pixel point corresponding to the pixel point according to the Z-coordinate value comprises:
calculating a first arc tangent value according to the distance and the Z coordinate value, and calculating a second arc tangent value according to the coordinate value of the pixel point;
and calculating the coordinate value of the target pixel point according to the coordinate value of the image center point, the first arc tangent value and the second arc tangent value.
3. The image warping rendering method of claim 2, wherein the target pixel point coordinate value is calculated according to the following formula:
r=a tan(d,z)
phi=a tan(y1,x1)
(x2,y2)=(r*cos(phi)+center·x,r*sin(phi)+center·y)
wherein r represents a first arctangent value, d represents a distance between the pixel point and the center point of the image, Z represents a Z coordinate value, phi represents a second arctangent value, (x)1,y1) The coordinate value (x) of the pixel point is represented2,y2) The coordinate value of the target pixel point is shown, center X shows the X coordinate value of the central point of the image, and center Y shows the Y coordinate value of the central point of the image.
4. A computer-readable storage medium, having stored thereon an image warping rendering program which, when executed by a processor, implements the image warping rendering method of any one of claims 1-3.
5. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the image warping rendering method according to any one of claims 1-3 when executing the program.
6. An image warping rendering apparatus, comprising:
the first calculation module is used for acquiring an original image and an image center point corresponding to the original image, and calculating the distance from any pixel point in the original image to the image center point;
the second calculation module is used for acquiring the field range parameter of the analog camera and calculating the Z coordinate value of the pixel point on the lens according to the distance and the field range parameter of the analog camera;
and the rendering module is used for calculating a target pixel point coordinate value corresponding to the pixel point according to the Z coordinate value and modifying the pixel value of the pixel point according to the pixel value of the target pixel point.
7. The image warping rendering apparatus of claim 6, wherein calculating the coordinate value of the target pixel point corresponding to the pixel point according to the Z-coordinate value comprises:
calculating a first arc tangent value according to the distance and the Z coordinate value, and calculating a second arc tangent value according to the coordinate value of the pixel point;
and calculating the coordinate value of the target pixel point according to the coordinate value of the image center point, the first arc tangent value and the second arc tangent value.
8. The image distortion rendering apparatus of claim 6, wherein the target pixel point coordinate value is calculated according to the following formula:
r=a tan(d,z)
phi=a tan(y1,x1)
(x2,y2)=(r*cos(phi)+center·x,r*sin(phi)+center·y)
wherein r represents a first arctangent value, d represents a distance between the pixel point and the center point of the image, Z represents a Z coordinate value, phi represents a second arctangent value, (x)1,y1) The coordinate value (x) of the pixel point is represented2,y2) The coordinate value of the target pixel point is shown, center X shows the X coordinate value of the central point of the image, and center Y shows the Y coordinate value of the central point of the image.
CN202110016970.0A 2021-01-07 2021-01-07 Image distortion rendering method and device Pending CN112669429A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110016970.0A CN112669429A (en) 2021-01-07 2021-01-07 Image distortion rendering method and device
PCT/CN2021/099768 WO2022147964A1 (en) 2021-01-07 2021-06-11 Image distortion rendering method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110016970.0A CN112669429A (en) 2021-01-07 2021-01-07 Image distortion rendering method and device

Publications (1)

Publication Number Publication Date
CN112669429A true CN112669429A (en) 2021-04-16

Family

ID=75413369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110016970.0A Pending CN112669429A (en) 2021-01-07 2021-01-07 Image distortion rendering method and device

Country Status (2)

Country Link
CN (1) CN112669429A (en)
WO (1) WO2022147964A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113487725A (en) * 2021-06-30 2021-10-08 山东齐鲁数通科技有限公司 Model node modification method and device, terminal device and storage medium
WO2022147964A1 (en) * 2021-01-07 2022-07-14 稿定(厦门)科技有限公司 Image distortion rendering method and apparatus
CN115688213A (en) * 2022-10-12 2023-02-03 稿定(厦门)科技有限公司 Image bottom analysis method and device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115456892B (en) * 2022-08-31 2023-07-25 北京四维远见信息技术有限公司 2.5-dimensional visual image automatic geometric correction method, device, equipment and medium
CN116361904B (en) * 2023-05-30 2023-08-22 中国铁路设计集团有限公司 Method and system for examining rendering quality of BIM model of urban rail engineering under rendering engine
CN117057982B (en) * 2023-10-11 2024-01-26 北京地平线信息技术有限公司 Integrated circuit for performing distortion transformation on image and electronic equipment
CN117392298B (en) * 2023-10-18 2024-05-14 亿海蓝(北京)数据技术股份公司 Image rendering method and system based on WebGIS platform, storage medium and electronic equipment
CN118967491B (en) * 2024-10-21 2025-01-28 浙江德方数据科技有限公司 A dynamic rendering adjustment method, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020180748A1 (en) * 2001-01-17 2002-12-05 Voicu Popescu Methods and apparatus for rendering images using 3D warping techniques
WO2017036040A1 (en) * 2015-08-28 2017-03-09 京东方科技集团股份有限公司 Pixel array, display driver device, driving method therefor, and display device
US20170345136A1 (en) * 2016-05-24 2017-11-30 Qualcomm Incorporated Fisheye rendering with lens distortion correction for 360-degree video
CN108090880A (en) * 2017-12-29 2018-05-29 杭州联络互动信息科技股份有限公司 The anti-distortion processing method and device of a kind of image
CN109325909A (en) * 2017-07-31 2019-02-12 深圳市中兴微电子技术有限公司 Image enlarging method and image enlarging device
CN111369655A (en) * 2020-03-02 2020-07-03 网易(杭州)网络有限公司 Rendering method and device and terminal equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6934422B2 (en) * 2001-12-18 2005-08-23 Honeywell International Inc. Methods, data, and systems to warp an image
CN104537616A (en) * 2014-12-20 2015-04-22 中国科学院西安光学精密机械研究所 Correction Method of Fisheye Image Distortion
CN106991658A (en) * 2017-03-28 2017-07-28 北京小米移动软件有限公司 The method and device of image procossing
CN107564085B (en) * 2017-10-24 2021-05-07 北京奇虎科技有限公司 Image warping processing method, device, computing device and computer storage medium
CN112669429A (en) * 2021-01-07 2021-04-16 稿定(厦门)科技有限公司 Image distortion rendering method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020180748A1 (en) * 2001-01-17 2002-12-05 Voicu Popescu Methods and apparatus for rendering images using 3D warping techniques
WO2017036040A1 (en) * 2015-08-28 2017-03-09 京东方科技集团股份有限公司 Pixel array, display driver device, driving method therefor, and display device
US20170345136A1 (en) * 2016-05-24 2017-11-30 Qualcomm Incorporated Fisheye rendering with lens distortion correction for 360-degree video
CN109325909A (en) * 2017-07-31 2019-02-12 深圳市中兴微电子技术有限公司 Image enlarging method and image enlarging device
CN108090880A (en) * 2017-12-29 2018-05-29 杭州联络互动信息科技股份有限公司 The anti-distortion processing method and device of a kind of image
CN111369655A (en) * 2020-03-02 2020-07-03 网易(杭州)网络有限公司 Rendering method and device and terminal equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022147964A1 (en) * 2021-01-07 2022-07-14 稿定(厦门)科技有限公司 Image distortion rendering method and apparatus
CN113487725A (en) * 2021-06-30 2021-10-08 山东齐鲁数通科技有限公司 Model node modification method and device, terminal device and storage medium
CN113487725B (en) * 2021-06-30 2024-03-29 山东齐鲁数通科技有限公司 Model node modification method and device, terminal equipment and storage medium
CN115688213A (en) * 2022-10-12 2023-02-03 稿定(厦门)科技有限公司 Image bottom analysis method and device

Also Published As

Publication number Publication date
WO2022147964A1 (en) 2022-07-14

Similar Documents

Publication Publication Date Title
CN112669429A (en) Image distortion rendering method and device
KR102227583B1 (en) Method and apparatus for camera calibration based on deep learning
CN109903393B (en) New visual angle scene synthesis method and device based on deep learning
CN110458932B (en) Image processing method, device, system, storage medium and image scanning apparatus
CN108848367B (en) Image processing method and device and mobile terminal
US10169891B2 (en) Producing three-dimensional representation based on images of a person
CN111144491B (en) Image processing method, device and electronic system
CN110021000B (en) Hairline repairing method and device based on layer deformation
US20200286205A1 (en) Precise 360-degree image producing method and apparatus using actual depth information
CN112700526B (en) Concave-convex material image rendering method and device
CN110363837B (en) Method and device for processing texture image in game, electronic equipment and storage medium
CN114494448A (en) Calibration error evaluation method, device, computer equipment and storage medium
CN110874824B (en) Image restoration method and device
CN111062902B (en) Image deformation method, medium, device and apparatus
CN110706161B (en) Image brightness adjusting method, medium, device and apparatus
CN112040205A (en) Automatic correction method and device for projected image and projector
JP2005141655A (en) Three-dimensional modeling apparatus and three-dimensional modeling method
CN113034553A (en) Evaluation method of image registration algorithm, terminal and storage medium
CN115660959B (en) Image generation method and device, electronic equipment and storage medium
CN114494034B (en) Image distortion correction method, device and equipment
CN112767236B (en) Image distortion effect rendering method and device
CN113284081B (en) Depth map super-resolution optimization method and device, processing equipment and storage medium
CN112183563A (en) Image recognition model generation method, storage medium and application server
CN111461960B (en) Multi-layer matrix transformation method and device
CN114339205A (en) Method and device for generating test chart

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210416

RJ01 Rejection of invention patent application after publication