CN111460774B - Method and device for restoring data in curve, storage medium and electronic equipment - Google Patents

Method and device for restoring data in curve, storage medium and electronic equipment Download PDF

Info

Publication number
CN111460774B
CN111460774B CN202010253318.6A CN202010253318A CN111460774B CN 111460774 B CN111460774 B CN 111460774B CN 202010253318 A CN202010253318 A CN 202010253318A CN 111460774 B CN111460774 B CN 111460774B
Authority
CN
China
Prior art keywords
curve
target
data
determining
text
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.)
Active
Application number
CN202010253318.6A
Other languages
Chinese (zh)
Other versions
CN111460774A (en
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.)
Beijing Yiyoulian Technology Co ltd
Original Assignee
Beijing Yiyoulian 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 Beijing Yiyoulian Technology Co ltd filed Critical Beijing Yiyoulian Technology Co ltd
Priority to CN202010253318.6A priority Critical patent/CN111460774B/en
Publication of CN111460774A publication Critical patent/CN111460774A/en
Application granted granted Critical
Publication of CN111460774B publication Critical patent/CN111460774B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Machine Translation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention relates to a method and a device for restoring data in a curve, a storage medium and electronic equipment, wherein the method comprises the following steps: acquiring a target report document, and analyzing text elements and curve elements carried in the target report document; storing the text elements into a text array file, and storing the curve elements into a curve array file; determining a target curve in the target report document, and determining a target origin of the target curve based on the text array file and the curve array file; determining data in the target curve based on the target origin and the text array file; and dividing the data in the target curve according to a preset dividing rule so as to restore the data in the target curve. Therefore, the data in the curve can be restored, abnormal values can be removed conveniently, and the data is subjected to smoothing treatment, so that the curve is remolded.

Description

Method and device for restoring data in curve, storage medium and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a method and a device for restoring data in a curve, a storage medium and electronic equipment.
Background
The curve is a line formed by continuously changing the direction when the moving point moves, and can be imagined as a curved wavy line. In real life, in some special scenarios, curves are often present in some reports. For example, in medical reports, some curves are described for the patient's lung ventilation function. For curves in such reports, due to the presence of outliers in the curve, there is an impact on the accuracy of the report, and therefore, it is necessary to restore the data in the curve in order to reject the outliers, and thus smooth the data, thereby reshaping the curve.
Disclosure of Invention
In view of the above, in order to solve the above technical problems or part of the technical problems, embodiments of the present invention provide a method, an apparatus, a storage medium, and an electronic device for restoring data in a curve.
In a first aspect, an embodiment of the present invention provides a method for restoring data in a curve, where the method includes:
acquiring a target report document, and analyzing text elements and curve elements carried in the target report document;
storing the text elements into a text array file, and storing the curve elements into a curve array file;
determining a target curve in the target report document, and determining a target origin of the target curve based on the text array file and the curve array file;
determining data in the target curve based on the target origin and the text array file;
and dividing the data in the target curve according to a preset dividing rule so as to restore the data in the target curve.
In an optional implementation manner, the parsing the text element and the curve element carried in the target report document includes:
and analyzing the text elements and the curve elements carried in the target report document by using a document vector element analysis technology.
In an alternative embodiment, the determining the target curve in the target report document includes:
determining the color of the curve;
and determining a target curve in the target report document according to the curve color.
In an optional embodiment, the determining the target origin of the target curve based on the text array file and the curve array file includes:
extracting every two crossed vertical line groups appearing in a target area in the target report document aiming at the curve array file;
forming the intersection points of the two-pair crossed vertical line groups into an origin set of a suspected target curve;
extracting a first array element with a value of zero for the text array file;
calculating an origin closest to the first array element in the origin set of the suspected target curve by taking the position of the first array element as a reference;
and determining the origin as a target origin of a target curve.
In an optional embodiment, the determining the data in the target curve based on the target origin and the text array file includes:
determining a region range of the target curve according to the target origin, wherein the region range comprises an abscissa maximum coordinate and an ordinate maximum coordinate;
extracting a second array element closest to the maximum coordinate distance of the abscissa from the text array file;
extracting a third array element closest to the maximum ordinate distance from the ordinate from the text array file;
and determining data in the target curve based on any curve point in the second array element, the third array element and the target curve.
In an optional embodiment, the determining the data in the target curve based on any curve point in the second array element, the third array element and the target curve includes:
inputting any curve point of the second array element, the third array element and the target curve into a data calculation formula to determine data in the target curve;
wherein the data calculation formula includes:
x_i = X_i * x_m / X_max;
y_i = Y_i * y_m / Y_max;
data in the target curve is composed of (x_i, y_i), any curve point in the target curve is composed of (x_i, y_i), x_m is the second array element, y_m is the third array element, the abscissa maximum coordinate is composed of (0, x_max), and the ordinate maximum coordinate is composed of (0, y_max).
In an alternative embodiment, the method further comprises:
and (3) performing linear interpolation on an original result obtained by dividing the data in the target curve by using a linear interpolation method to finish filling of the sparse point set.
In a second aspect, an embodiment of the present invention provides a device for restoring data in a curve, where the device includes:
the document acquisition module is used for acquiring a target report document and analyzing text elements and curve elements carried in the target report document;
the element storage module is used for storing the text elements into a text array file and storing the curve elements into a curve array file;
the origin determining module is used for determining a target curve in the target report document and determining a target origin of the target curve based on the text array file and the curve array file;
the data determining module is used for determining data in the target curve based on the target origin and the text array file;
the data segmentation module is used for segmenting the data in the target curve according to a preset segmentation rule so as to restore the data in the target curve.
In a third aspect, an embodiment of the present invention provides a storage medium storing one or more programs, where the one or more programs are executable by one or more processors to implement the foregoing method for restoring data in a curve.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including: the device comprises a processor and a memory, wherein the processor is used for executing a restoring program of data in a curve stored in the memory so as to realize the restoring method of the data in the curve.
According to the technical scheme provided by the embodiment of the invention, the text elements and the curve elements carried in the target report document are analyzed by acquiring the target report document, the text elements are stored in the text array file, the curve elements are stored in the curve array file, the target curve in the target report document is determined, the target origin of the target curve is determined based on the text array file and the curve array file, the data in the target curve is determined based on the target origin and the text array file, and the data in the target curve is segmented according to the preset segmentation rule, so that the data in the target curve is restored. Therefore, the data in the curve can be restored, abnormal values can be removed conveniently, and the data is subjected to smoothing treatment, so that the curve is remolded.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present description, and other drawings may be obtained according to these drawings for a person having ordinary skill in the art.
FIG. 1 is a schematic flow chart of a method for restoring data in a curve according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a device for restoring data in a curve according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For the purpose of facilitating an understanding of the embodiments of the present invention, reference will now be made to the following description of specific embodiments, taken in conjunction with the accompanying drawings, which are not intended to limit the embodiments of the invention.
As shown in fig. 1, a schematic implementation flow chart of a method for restoring data in a curve according to an embodiment of the present invention may specifically include the following steps:
s101, acquiring a target report document, and analyzing text elements and curve elements carried in the target report document;
in an embodiment of the invention, a target report document may be obtained, for example, a patient lung ventilation function examination report document may be, for example, a bronchodilatory test examination report document, where such report document includes a corresponding curve describing the patient lung ventilation function and a curve describing the bronchodilatory test.
For the obtained target report document, the embodiment of the invention may analyze the text element and the curve element carried in the target report document, and may naturally also include other document elements, such as image elements, which is not limited in the embodiment of the invention.
Specifically, the embodiment of the invention can analyze the text elements and the curve elements carried in the target report document by using a document vector element analysis technology.
For example, for a patient lung ventilation function examination report document, the embodiment of the present invention may analyze text elements, image elements, and curve elements carried in the patient lung ventilation function examination report document using a document vector element analysis technique.
S102, storing the text elements into a text array file, and storing the curve elements into a curve array file;
for the text element, the image element and the curve element obtained by the analysis, the embodiment of the invention stores the text element into a text array file, the image element into an image array file and the curve element into a curve array file.
S103, determining a target curve in the target report document, and determining a target origin of the target curve based on the text array file and the curve array file;
for curves in a target report document, the embodiment of the invention can determine the target curve in the target report document based on the curve colors because of the difference of colors.
For example, embodiments of the present invention determine the curve color: and determining a target curve in the target report document based on the curve color.
In addition, based on the text array file and the curve array file, a target origin of the target curve is determined, and the specific implementation manner is as follows:
extracting every two crossed vertical line groups appearing in a target area in the target report document aiming at the curve array file; forming the intersection points of the two-pair crossed vertical line groups into an origin set of a suspected target curve; extracting a first array element with a value of zero for the text array file; calculating an origin closest to the first array element in the origin set of the suspected target curve by taking the position of the first array element as a reference; and determining the origin as a target origin of a target curve.
Wherein, for the target area, according to the prior information, the area on the left side in the target report document can be obtained.
For example, for the curve array file, extracting every two intersecting vertical line groups appearing in the left area in the target report document, and forming the intersection points of every two intersecting vertical line groups into an origin set of a suspected target curve;
and extracting an array element with the value of 0 from the text array file, calculating an origin closest to the array element with the value of 0 in the origin set of the suspected target curve by taking the position of the array element with the value of 0 as a reference, and determining the origin as a target origin of the target curve.
S104, determining data in the target curve based on the target origin and the text array file;
for the target origin and the text array file, the embodiment of the invention can determine the data in the target curve based on the target origin and the text array file, and the specific implementation manner is as follows:
determining a region range of the target curve according to the target origin, wherein the region range comprises an abscissa maximum coordinate and an ordinate maximum coordinate; extracting a second array element closest to the maximum coordinate distance of the abscissa from the text array file; extracting a third array element closest to the maximum ordinate distance from the ordinate from the text array file; and determining data in the target curve based on any curve point in the second array element, the third array element and the target curve.
For example, determining a region range where the target curve is located according to the maximum value and the minimum value of the transverse and vertical crossed line segments determined by the target origin, wherein the region range comprises an abscissa maximum coordinate (0, X_max) and an ordinate maximum coordinate (0, Y_max);
extracting an array element x_m closest to the maximum coordinate (0, X_max) of the abscissa from the text array file, and extracting an array element y_m closest to the maximum coordinate (0, Y_max) of the ordinate from the text array file;
for any curve point (X_i, Y_i) in a target curve, determining data in the target curve based on any curve point in the second array element, the third array element and the target curve.
Specifically, any curve point of the second array element, the third array element and the target curve is input into a data calculation formula to determine data in the target curve.
Wherein the data calculation formula includes:
x_i = X_i * x_m / X_max;
y_i = Y_i * y_m / Y_max;
data in the target curve is composed of (x_i, y_i), any curve point in the target curve is composed of (x_i, y_i), x_m is the second array element, y_m is the third array element, the abscissa maximum coordinate is composed of (0, x_max), and the ordinate maximum coordinate is composed of (0, y_max).
S105, dividing the data in the target curve according to a preset dividing rule so as to restore the data in the target curve.
For the obtained data in the target curve, the embodiment of the invention segments the data in the target curve according to a preset segmentation rule so as to restore the data in the target curve.
Specifically, according to the rule that the curves start from the original point and the change trend is monotonically increasing in the x-axis direction, the embodiment of the invention provides a target curve segmentation technology based on trend analysis, and the target curve is segmented by judging whether the curve starting from the original point in the target area is monotonically increasing in the x-axis direction, so that the segmentation result is the data in the extracted original curve.
In addition, for an original result obtained by dividing data in a target curve, the embodiment of the invention uses a linear interpolation method to linearly interpolate the original result obtained by dividing the data in the target curve so as to finish filling of a sparse point set.
Through the description of the technical scheme provided by the embodiment of the invention, the text elements and the curve elements carried in the target report document are analyzed through obtaining the target report document, the text elements are stored in the text array file, the curve elements are stored in the curve array file, the target curve in the target report document is determined, the target origin of the target curve is determined based on the text array file and the curve array file, the data in the target curve is determined based on the target origin and the text array file, and the data in the target curve is segmented according to the preset segmentation rule, so that the data in the target curve is restored. Therefore, the data in the curve can be restored, abnormal values can be removed conveniently, and the data is subjected to smoothing treatment, so that the curve is remolded.
Compared to the method embodiment, the embodiment of the invention also provides an embodiment of a device for restoring data in a curve, as shown in fig. 2, the device may include: a document acquisition module 210, an element storage module 220, an origin determination module 230, a data determination module 240, and a data segmentation module 250.
The document acquisition module 210 is configured to acquire a target report document, and analyze text elements and curve elements carried in the target report document;
the element storage module 220 is configured to store the text element into a text array file, and store the curve element into a curve array file;
the origin determining module 230 is configured to determine a target curve in the target report document, and determine a target origin of the target curve based on the text array file and the curve array file;
a data determining module 240, configured to determine data in the target curve based on the target origin and the text array file;
the data segmentation module 250 is configured to segment the data in the target curve according to a preset segmentation rule, so as to restore the data in the target curve.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and the electronic device 300 shown in fig. 3 includes: at least one processor 301, a memory 302, at least one network interface 304, and other user interfaces 303. The various components in the mobile terminal 300 are coupled together by a bus system 305. It is understood that the bus system 305 is used to enable connected communications between these components. The bus system 305 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled as bus system 305 in fig. 3.
The user interface 303 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, a trackball, a touch pad, or a touch screen, etc.).
It will be appreciated that the memory 302 in embodiments of the invention can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (ProgrammableROM, PROM), an erasable programmable Read-only memory (ErasablePROM, EPROM), an electrically erasable programmable Read-only memory (ElectricallyEPROM, EEPROM), or a flash memory, among others. The volatile memory may be a random access memory (RandomAccessMemory, RAM) that acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic random access memory (DynamicRAM, DRAM), synchronous dynamic random access memory (SynchronousDRAM, SDRAM), double data rate synchronous dynamic random access memory (DoubleDataRateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (EnhancedSDRAM, ESDRAM), synchronous link dynamic random access memory (SynchlinkDRAM, SLDRAM), and direct memory bus random access memory (DirectRambusRAM, DRRAM). The memory 302 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some implementations, the memory 302 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 3021 and application programs 3022.
The operating system 3021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 3022 includes various application programs such as a media player (MediaPlayer), a Browser (Browser), and the like for realizing various application services. The program for implementing the method of the embodiment of the present invention may be included in the application program 3022.
In the embodiment of the present invention, the processor 301 is configured to execute the method steps provided by the method embodiments by calling a program or an instruction stored in the memory 302, specifically, a program or an instruction stored in the application program 3022, for example, including: acquiring a target report document, and analyzing text elements and curve elements carried in the target report document; storing the text elements into a text array file, and storing the curve elements into a curve array file; determining a target curve in the target report document, and determining a target origin of the target curve based on the text array file and the curve array file; determining data in the target curve based on the target origin and the text array file; and dividing the data in the target curve according to a preset dividing rule so as to restore the data in the target curve.
The method disclosed in the above embodiment of the present invention may be applied to the processor 301 or implemented by the processor 301. The processor 301 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry of hardware in the processor 301 or instructions in the form of software. The processor 301 may be a general purpose processor, a digital signal processor (DigitalSignalProcessor, DSP), an application specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), an off-the-shelf programmable gate array (FieldProgrammableGateArray, FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software elements in a decoding processor. The software elements may be located in a random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 302 and the processor 301 reads the information in the memory 302 and in combination with its hardware performs the steps of the above method.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For a hardware implementation, the processing units may be implemented within one or more application specific integrated circuits (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processors (DigitalSignalProcessing, DSP), digital signal processing devices (dspev), programmable logic devices (ProgrammableLogicDevice, PLD), field programmable gate arrays (Field-ProgrammableGateArray, FPGA), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The electronic device provided in this embodiment may be an electronic device as shown in fig. 3, and may perform all steps of the method for restoring data in the curve as shown in fig. 1, so as to achieve the technical effects of the method for restoring data in the curve as shown in fig. 1, and the description thereof will be specifically referred to in fig. 1, and is omitted herein for brevity.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium here stores one or more programs. Wherein the storage medium may comprise volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid state disk; the memory may also comprise a combination of the above types of memories.
When one or more programs in the storage medium are executable by one or more processors, the above method for restoring data in a curve performed on the device side for restoring data in a curve is implemented.
The processor is used for executing a restoring program of the data in the curve stored in the memory so as to realize the following steps of a restoring method of the data in the curve executed on the restoring equipment side of the data in the curve:
acquiring a target report document, and analyzing text elements and curve elements carried in the target report document; storing the text elements into a text array file, and storing the curve elements into a curve array file; determining a target curve in the target report document, and determining a target origin of the target curve based on the text array file and the curve array file; determining data in the target curve based on the target origin and the text array file; and dividing the data in the target curve according to a preset dividing rule so as to restore the data in the target curve.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of function in order to clearly illustrate the interchangeability of hardware and software. 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 invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (9)

1. A method of restoring data in a curve, the method comprising:
acquiring a target report document, and analyzing text elements and curve elements carried in the target report document;
storing the text elements into a text array file, and storing the curve elements into a curve array file;
determining a target curve in the target report document, and determining a target origin of the target curve based on the text array file and the curve array file;
determining data in the target curve based on the target origin and the text array file;
dividing the data in the target curve according to a preset dividing rule so as to restore the data in the target curve;
wherein the determining the target origin of the target curve based on the text array file and the curve array file includes:
extracting every two crossed vertical line groups appearing in a target area in the target report document aiming at the curve array file;
forming the intersection points of the two-pair crossed vertical line groups into an origin set of a suspected target curve;
extracting a first array element with a value of zero for the text array file;
calculating an origin closest to the first array element in the origin set of the suspected target curve by taking the position of the first array element as a reference;
and determining the origin as a target origin of a target curve.
2. The method of claim 1, wherein the parsing text elements and curve elements carried in the target report document comprises:
and analyzing the text elements and the curve elements carried in the target report document by using a document vector element analysis technology.
3. The method of claim 1, wherein said determining a target curve in said target report document comprises:
determining the color of the curve;
and determining a target curve in the target report document according to the curve color.
4. The method of claim 1, wherein the determining the data in the target curve based on the target origin and the literal array file comprises:
determining a region range of the target curve according to the target origin, wherein the region range comprises an abscissa maximum coordinate and an ordinate maximum coordinate;
extracting a second array element closest to the maximum coordinate distance of the abscissa from the text array file;
extracting a third array element closest to the maximum ordinate distance from the ordinate from the text array file;
and determining data in the target curve based on any curve point in the second array element, the third array element and the target curve.
5. The method of claim 4, wherein determining the data in the target curve based on any curve point in the second array element, the third array element, and the target curve comprises:
inputting any curve point of the second array element, the third array element and the target curve into a data calculation formula to determine data in the target curve;
wherein the data calculation formula includes:
x_i = X_i * x_m / X_max;
y_i = Y_i * y_m / Y_max;
data in the target curve is composed of (x_i, y_i), any curve point in the target curve is composed of (x_i, y_i), x_m is the second array element, y_m is the third array element, the abscissa maximum coordinate is composed of (0, x_max), and the ordinate maximum coordinate is composed of (0, y_max).
6. The method according to claim 1, wherein the method further comprises:
and (3) performing linear interpolation on an original result obtained by dividing the data in the target curve by using a linear interpolation method to finish filling of the sparse point set.
7. A device for restoring data in a curve, the device comprising:
the document acquisition module is used for acquiring a target report document and analyzing text elements and curve elements carried in the target report document;
the element storage module is used for storing the text elements into a text array file and storing the curve elements into a curve array file;
the origin determining module is used for determining a target curve in the target report document and determining a target origin of the target curve based on the text array file and the curve array file;
the data determining module is used for determining data in the target curve based on the target origin and the text array file;
the data segmentation module is used for segmenting the data in the target curve according to a preset segmentation rule so as to restore the data in the target curve.
8. An electronic device, comprising: the device comprises a processor and a memory, wherein the processor is used for executing a restoring program of data in a curve stored in the memory so as to realize the restoring method of the data in the curve according to any one of claims 1-6.
9. A storage medium storing one or more programs executable by one or more processors to implement the method of restoring data in a curve of any one of claims 1-6.
CN202010253318.6A 2020-04-02 2020-04-02 Method and device for restoring data in curve, storage medium and electronic equipment Active CN111460774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010253318.6A CN111460774B (en) 2020-04-02 2020-04-02 Method and device for restoring data in curve, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010253318.6A CN111460774B (en) 2020-04-02 2020-04-02 Method and device for restoring data in curve, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111460774A CN111460774A (en) 2020-07-28
CN111460774B true CN111460774B (en) 2023-06-30

Family

ID=71685850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010253318.6A Active CN111460774B (en) 2020-04-02 2020-04-02 Method and device for restoring data in curve, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111460774B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0926776A (en) * 1995-07-13 1997-01-28 Hitachi Ltd Radical extracting method and hinting information generating device
CN106127751A (en) * 2016-06-20 2016-11-16 北京小米移动软件有限公司 image detecting method, device and system
CN107451232A (en) * 2017-07-24 2017-12-08 广东顺德德力信息科技有限公司 A kind of electronic document graph text information restoring method, storage device and terminal
CN107909068A (en) * 2017-11-24 2018-04-13 苏州灯蓝软件科技有限公司 A kind of big data image curve reverse resolution method and system
CN110008809A (en) * 2019-01-04 2019-07-12 阿里巴巴集团控股有限公司 Acquisition methods, device and the server of list data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0926776A (en) * 1995-07-13 1997-01-28 Hitachi Ltd Radical extracting method and hinting information generating device
CN106127751A (en) * 2016-06-20 2016-11-16 北京小米移动软件有限公司 image detecting method, device and system
CN107451232A (en) * 2017-07-24 2017-12-08 广东顺德德力信息科技有限公司 A kind of electronic document graph text information restoring method, storage device and terminal
CN107909068A (en) * 2017-11-24 2018-04-13 苏州灯蓝软件科技有限公司 A kind of big data image curve reverse resolution method and system
CN110008809A (en) * 2019-01-04 2019-07-12 阿里巴巴集团控股有限公司 Acquisition methods, device and the server of list data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
复杂曲线图像的数据提取方法;谭延峥等;《电子测量技术》;第39卷(第12期);159-163 *

Also Published As

Publication number Publication date
CN111460774A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN110634153A (en) Target tracking template updating method and device, computer equipment and storage medium
CN110390679B (en) Image processing method, computer device, and readable storage medium
CN110427946B (en) Document image binarization method and device and computing equipment
CN111161279A (en) Medical image segmentation method and device and server
CN108984328B (en) Stack backtracking method and device
CN110689518A (en) Cervical cell image screening method and device, computer equipment and storage medium
CN114424533A (en) Method for determining predicted value, decoder and computer storage medium
CN111310254A (en) CAD legend recognition method, device, storage medium and electronic equipment
CN111460774B (en) Method and device for restoring data in curve, storage medium and electronic equipment
CN116912214B (en) Method, apparatus and storage medium for segmenting aneurysm detection image
CN110162362B (en) Dynamic control position detection and test method, device, equipment and storage medium
CN110889432A (en) Feature point matching method and device, computer equipment and storage medium
CN111079523A (en) Object detection method, object detection device, computer equipment and storage medium
CN114529965A (en) Character image clustering method and device, computer equipment and storage medium
CN113255700B (en) Image feature map processing method and device, storage medium and terminal
CN107704708B (en) Linear engineering section coordinate calculation method, device and equipment
CN111159796B (en) Method and device for generating beam of building, computer equipment and storage medium
CN110704902A (en) Method for placing connecting node of combined lintel model and combined column model and product
CN112052861A (en) Method for calculating effective receptive field of deep convolutional neural network and storage medium
CN116092132A (en) Fingerprint matching method, fingerprint matching device, computer equipment and storage medium
CN111582259B (en) Machine-readable code identification method, device, electronic equipment and storage medium
CN116128863B (en) Medical image processing method, device and equipment
JP2020030502A (en) Image processing device, image processing method, and image processing program
CN113838110B (en) Verification method and device for target detection result, storage medium and electronic equipment
CN110765513B (en) Method for placing connecting node of wall keel model and L-shaped top guide beam model and product

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
GR01 Patent grant
GR01 Patent grant