Device of image view-angle transformation and method thereof
A perspective transformation and image technology, applied in the direction of graphic image conversion, image data processing, editing/combining graphics or text, etc., can solve the problem of inability to obtain perspective transformation matrix accurately, and achieve the effect of image perspective transformation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] An embodiment of the present invention provides an image viewing angle conversion method. figure 2 is a schematic diagram of an image perspective transformation method according to an embodiment of the present invention, such as figure 2 As shown, the image perspective transformation method includes:
[0050] Step 201, extracting multiple straight lines based on the grayscale image of the document image;
[0051] Step 202, classify the multiple straight lines according to the horizontal direction and the vertical direction;
[0052] Step 203, extracting a plurality of text lines based on the binary image of the document image;
[0053] Step 204, classify the plurality of text lines according to horizontal direction and vertical direction;
[0054] Step 205, selecting two vertical lines and two horizontal lines from the extracted and classified straight lines and text lines;
[0055] Step 206, calculating a transformation matrix based on the box formed by the selec...
Embodiment 2
[0115] An embodiment of the present invention provides an image viewing angle conversion device, and the same content as that in Embodiment 1 will not be repeated here.
[0116] Figure 13 is a schematic diagram of an image viewing angle conversion device according to an embodiment of the present invention, such as Figure 13 As shown, the image viewing angle conversion device 1300 includes:
[0117] A straight line extraction unit 1301, which extracts a plurality of straight lines based on the grayscale image of the document image;
[0118] a line classification unit 1302, which classifies the plurality of lines according to the horizontal direction and the vertical direction;
[0119] A text line extraction unit 1303, which extracts a plurality of text lines based on the binary image of the document image;
[0120] a text line classification unit 1304, which classifies the plurality of text lines according to horizontal direction and vertical direction;
[0121] a line s...
Embodiment 3
[0152] An embodiment of the present invention also provides an electronic device, which includes the image viewing angle conversion apparatus 1200 as described in Embodiment 2.
[0153] Figure 18 It is a schematic diagram of an electronic device according to an embodiment of the present invention, exemplarily showing the composition of the electronic device. Such as Figure 18 As shown, the electronic device 1800 may include: a central processing unit (CPU) 100 and a memory 110 ; the memory 110 is coupled to the central processing unit 100 . Among them, the memory 110 can store various data; in addition, it also stores information processing programs, and executes the programs under the control of the central processing unit 100 .
[0154] In one embodiment, the functions of the image viewing angle transforming device 1300 can be integrated into the central processing unit 100 . Wherein, the central processing unit 100 may be configured to implement the method for transfor...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


