Method and apparatus for spherizing processing of images and videos
A processing method and technology of a processing device, which are applied in the field of image processing, can solve problems such as difficulties and unsatisfactory processing effects, and achieve the effects of image processing results, realistic processing effects, and strong stereoscopic effects.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 It is a flow chart of an image spherification processing method in a preferred embodiment of the present invention; the method includes the following steps:
[0028] S101. Acquire an image A to be processed.
[0029] S102. Obtain the spherical parameters of the image A, the spherical parameters include the spherical position coordinates (x, y) of the image A, and the spherical radius r;
[0030] Spherical position coordinates (x, y) are coordinate points in the first coordinate system of the horizontal X axis and vertical Y axis established in image A with the lower left corner of image A as the origin o; spherical position coordinates (x, y) and spherical The radius r is input or set by the user.
[0031] S103, according to the spherical parameters, take (x, y) in the image A as the origin, the horizontal line of the image A is the X axis, and the vertical column is the Y axis, and establish a second coordinate system (ie, a Cartesian coordinate system).
...
Embodiment 2
[0044] figure 2 It is a structural diagram of an image spherification processing device in a preferred embodiment of the present invention; the device includes:
[0045] The image-to-be-processed acquisition module is used to acquire the image A to be processed.
[0046] The spherical parameter acquisition module is used to obtain the spherical parameters of the image A, the spherical parameters include the spherical position coordinates (x, y) of the image A, and the spherical radius r; the position coordinates (x, y) are based on the image A The lower left corner of is the origin o, and the horizontal X-axis and the vertical Y-axis coordinate points in the first coordinate system are established in image A; the spherical position coordinates (x, y) and spherical radius r are input or set by the user.
[0047] The second coordinate system creation module is used to take (x, y) in the image A as the origin according to the spherical parameters, the horizontal row of the imag...
Embodiment 3
[0060] image 3 It is a flowchart of a video spherification processing method in a preferred embodiment of the present invention; the method includes the following steps:
[0061]S201. Acquire a video source to be processed.
[0062] S202. Obtain a pre-built distance matrix template D;
[0063] The method of constructing the distance matrix template D in advance is the same as that of constructing the distance matrix template D in the first embodiment, including the following steps:
[0064] S2021. Acquire the image A to be processed.
[0065] S2022. Obtain the spherical parameters of the image A; the spherical parameters include the spherical position coordinates (x, y) of the image A and the spherical radius r;
[0066] Spherical position coordinates (x, y) are coordinate points in the first coordinate system of the horizontal X axis and vertical Y axis established in image A with the lower left corner of image A as the origin o; spherical position coordinates (x, y) and ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 