Method and device for extracting line chart data and apparatus
A data extraction and line chart technology, applied in the computer field, can solve the problem that line chart data cannot be automatically formatted and processed, and achieve the effect of reducing analysis workload, making significant progress, and improving analysis accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] One aspect disclosed by the present invention is a method for extracting line graph data, such as figure 1 The method flow shown includes:
[0052] Step 101, acquire data information of all data of a picture to be processed, the data information includes pixel coordinates and text data.
[0053] The research report generally adopts the PDF file format. Before the start of this embodiment, the PDF can be directly converted into a picture, and the picture can be converted into an SVG format file as the picture to be processed.
[0054] The SVG format file is called Scalable Vector Graphics in English. It is a scalable vector graphics. SVG provides three types of graphic objects: vector graphics (vectorgraphicshape, for example: a path composed of straight lines and curves), images (image), text ( text).
[0055] The coordinate system used by the SVG format file is: the upper left corner of the page is the (0,0) coordinate point, the coordinates are in pixels, the positi...
Embodiment 2
[0095] Such as Figure 4 As shown, another aspect disclosed by the present invention is to provide a device for extracting line graph data, including:
[0096] The data extraction module 201 is used to obtain the pixel coordinates of all data in the picture to be processed, pixel coordinate values thereof, and text data and store them;
[0097] A pixel coordinate range determination module 202, configured to traverse the pixel coordinates of all the data to determine the position of the line graph, and establish the pixel coordinate range of the line graph;
[0098] Calculation module 203, used to calculate the unit data value corresponding to the unit pixel in the pixel coordinate range and the pixel difference between any point in the pixel coordinate range and the coordinate axis of the broken line graph in the pixel coordinate range, according to The pixel difference value and the unit data value calculate the data value corresponding to the pixel coordinate of the arbi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com