CN111145312A - Ultrasonic image measurement information editing method, device, equipment and readable storage medium - Google Patents

Ultrasonic image measurement information editing method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN111145312A
CN111145312A CN201911402928.1A CN201911402928A CN111145312A CN 111145312 A CN111145312 A CN 111145312A CN 201911402928 A CN201911402928 A CN 201911402928A CN 111145312 A CN111145312 A CN 111145312A
Authority
CN
China
Prior art keywords
measurement information
standard
ultrasound image
measurement
editing
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.)
Granted
Application number
CN201911402928.1A
Other languages
Chinese (zh)
Other versions
CN111145312B (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.)
Sonoscape Medical Corp
Original Assignee
Sonoscape Medical Corp
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 Sonoscape Medical Corp filed Critical Sonoscape Medical Corp
Priority to CN201911402928.1A priority Critical patent/CN111145312B/en
Publication of CN111145312A publication Critical patent/CN111145312A/en
Application granted granted Critical
Publication of CN111145312B publication Critical patent/CN111145312B/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/60Editing figures and text; Combining figures or text
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E30/00Energy generation of nuclear origin
    • Y02E30/30Nuclear fission reactors

Abstract

The invention discloses an ultrasonic image measurement information editing method, an ultrasonic image measurement information editing device, ultrasonic diagnostic equipment and a readable storage medium. The method comprises the following steps: drawing the measurement information on the ultrasonic image according to the measurement information drawing instruction; when a measurement information confirmation instruction is received, the editing mode of the measurement information is quitted, and the measurement information and the relation parameters between the measurement information and the ultrasonic image are stored; and when a measurement information activation instruction is received, reading the measurement information by using the relation parameters, and entering an editing mode of the measurement information on the ultrasonic image again. When the method exits the editing mode of the measurement information, the measurement information and the corresponding relation between the measurement information and the ultrasonic image are independently stored. When the measurement information activation instruction is received, the measurement information can be read based on the relation parameters, and the editing mode of the measurement information of the ultrasonic image is entered again. The requirement of editing the measurement information again can be met.

Description

Ultrasonic image measurement information editing method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an ultrasound image measurement information editing method, an ultrasound image measurement information editing apparatus, an ultrasound diagnostic apparatus, and a readable storage medium.
Background
When the measurement information of the ultrasound image is edited, once the editing mode is exited and the measurement information is confirmed and stored, the measurement information and the ultrasound image are simultaneously captured and stored as a new image, and the measurement information cannot be edited again. If modification is required, only the frame of ultrasound image can be re-measured, which is particularly troublesome in the case where a plurality of measurement information is stored on one frame of ultrasound image, meaning that all measurement information needs to be re-measured by the physician.
For example, when a doctor finishes measuring (such as manually tracing) a certain frame of ultrasound image, switches to other frame of ultrasound image measurement or switches to other movies, if the doctor calls back to the ultrasound image measured at the previous time, the measurement information cannot be modified; in addition, when the whole measured ultrasound image is edited, for example, it is rotated, or translated or zoomed to another display window (e.g., one of a plurality of displays), the previous measurement information cannot be modified. However, the initial measurement is sometimes limited by time, image display effect, and other factors, so that the measurement information does not meet the actual measurement requirement, the measurement effect is not good, and the measurement information needs to be edited again.
In summary, how to effectively solve the problem that the measurement information of the ultrasound image cannot be edited again is a technical problem that needs to be solved urgently by those skilled in the art at present.
Disclosure of Invention
The invention aims to provide an ultrasonic image measurement information editing method, an ultrasonic image measurement information editing device, ultrasonic diagnostic equipment and a readable storage medium, so that when an ultrasonic image is displayed in a call-back mode, the requirements of subsequent measurement and re-editing can be met, and multi-window display of measurement information can be supported; support for dynamic playback functions; and a label for recording gear measurement information of the tape is supported to be exported.
In order to solve the technical problems, the invention provides the following technical scheme:
an ultrasound image measurement information editing method, comprising:
drawing the measurement information on the ultrasonic image according to the measurement information drawing instruction;
when a measurement information confirmation instruction is received, exiting the editing mode of the measurement information, and storing the measurement information as standard measurement information;
and when a measurement information activation instruction is received, reading the standard measurement information and analyzing the standard measurement information into the measurement information, so that the measurement information enters an editing mode again.
Preferably, storing the measurement information as the standard measurement information includes:
converting the measurement information into standard measurement information corresponding to a standard position coordinate by using a conversion function in combination with a conversion parameter determined according to a correspondence between the position coordinate of the ultrasound image and the standard position coordinate;
accordingly, reading and resolving the standard measurement information into the measurement information includes:
and reading the standard measurement information, and reversely converting the standard measurement information into the measurement information by using the conversion function and the conversion parameter.
Preferably, the method further comprises the following steps: when the ultrasonic image is changed into a target ultrasonic image, the conversion parameter is synchronously changed into a target conversion parameter according to the change relation of the ultrasonic image;
correspondingly, the inverse conversion of the standard measurement information into the measurement information by using the conversion function and the conversion parameter comprises: converting the measurement information into target standard measurement information corresponding to the standard position coordinates by using the conversion function in combination with the target conversion parameters;
accordingly, reading and resolving the standard measurement information into the measurement information includes: and reading the target standard measurement information, and reversely converting the target standard measurement information into the measurement information by using the conversion function and combining the target conversion parameters.
Preferably, the changing the ultrasound image into a target ultrasound image includes performing at least one of rotation, scaling and offset on the ultrasound image, and accordingly, the target conversion parameter is the conversion parameter after the processing of the change parameter among the corresponding rotation parameter, scaling parameter and offset parameter.
Preferably, storing the measurement information as standard measurement information comprises:
converting the standard measurement information into a binary file by using a serialization technology and storing the binary file;
accordingly, the reading the standard measurement information includes:
and reading the binary file, and converting the binary file into the standard measurement information by using an deserialization technology.
Preferably, the standard measurement information further includes a measurement type of the measurement information;
correspondingly, when the measurement information activation instruction is received, the measurement type is analyzed, and a corresponding processing program is started to display the measurement information and/or analyze a user operation instruction.
Preferably, the measurement information includes at least one of a trace line, a straight line segment, an angle line, and a letter.
An ultrasound image measurement information editing apparatus comprising:
the measurement information drawing module is used for drawing the measurement information on the ultrasonic image according to the measurement information drawing instruction;
the editing mode quitting module is used for quitting the editing mode of the measurement information and storing the measurement information as standard measurement information when receiving a measurement information confirmation instruction;
and the editing mode restarting module is used for reading the standard measurement information and analyzing the standard measurement information into the measurement information when receiving a measurement information activation instruction, so that the measurement information enters an editing mode again.
A readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the ultrasound image measurement information editing method described above.
By applying the method provided by the embodiment of the invention, the measurement information is drawn on the ultrasonic image according to the measurement information drawing instruction; when a measurement information confirmation instruction is received, exiting from the editing mode of the measurement information, and storing the measurement information as standard measurement information; and when a measurement information activation instruction is received, reading the standard measurement information and analyzing the standard measurement information into measurement information, so that the measurement information enters an editing mode again.
In the existing measurement storage, the measurement information is solidified on the ultrasonic image, the measurement information and the ultrasonic image are stored in a screen capture file mode, and the screen capture file is taken as a whole picture, so that the requirements of subsequent re-measurement, re-editing and the like are difficult to meet. Based on this, the method stores the measurement information as standard measurement information when exiting the editing mode of the measurement information. And when receiving a measurement information activation instruction, reading the standard measurement information and analyzing the standard measurement information into measurement information. So that the measurement information is again subjected to the editing mode. Therefore, the requirement for editing the measurement information again under the scenes such as callback and the like can be met.
Accordingly, the embodiment of the present invention further provides an ultrasound image measurement information editing apparatus, an ultrasound diagnostic apparatus, and a readable storage medium corresponding to the ultrasound image measurement information editing method, which have the above technical effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating an embodiment of a method for editing ultrasound image measurement information according to the present invention;
FIG. 2(a) is a diagram illustrating a measurement information storage structure according to an embodiment of the present invention;
fig. 2(b) is an implementation schematic diagram of a first specific application scenario in the embodiment of the present invention;
fig. 2(c) is an implementation schematic diagram of a second specific application scenario in the embodiment of the present invention;
fig. 2(d) is an implementation schematic diagram of a third specific application scenario in the embodiment of the present invention;
FIG. 3 is a schematic diagram of a measurement transformation according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a serialization and deserialization process according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a measurement store callback process according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an ultrasound image measurement information editing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an ultrasonic diagnostic apparatus according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for editing ultrasound image measurement information according to an embodiment of the present invention, where the method is applicable to an ultrasound diagnostic apparatus, and the method includes the following steps:
and S101, drawing the measurement information on the ultrasonic image according to the measurement information drawing instruction.
The measurement information drawing instruction may be an instruction input by a user through an input device to draw measurement information, such as an instruction to draw measurement information such as a trace line, a straight line segment, an angle line, and a text.
After the measurement information drawing instruction is obtained, the measurement information can be drawn on the measurement layer of the ultrasonic image. Wherein the measurement information comprises at least one measurement type of a tracing line, a straight line segment, an angle line and a character. The measurement information may be plotted in a measurement map layer on the ultrasound image.
For example, the measurement information may specifically include measurement movie data, REF data, major axis measurement primitive data, lateral axis measurement primitive data, measurement result data, measurement% a,% D calculation data, which are organized in a certain manner to form a measurement information hierarchy as shown in fig. 2 (a).
Wherein, the related terms in fig. 2(a) are described as follows:
management of measurement data: accessing measurement data and modifying an entry;
measurement cursor factory: creating measurement cursors of all measurement types, and selecting measurement cursor objects (such as 3 measurement cursors) according to the current measurement type;
measuring a primitive factory: creating measurement primitives (the content is empty, and is equivalent to a template) of all measurement types, and selecting corresponding measurement templates (5 measurement primitives) according to the measurement types created by a user;
list of movie measurement data: the measurement module can load a plurality of movie-related measurement information at the same time; so there are lists to manage measurement information inside different movies;
measuring REF data: one film only has a unique identifier (REF: reference object of calculation result), so that one film only has 1 REF identifier;
measuring long axis data: one film only contains one long axis image area, so that only one long axis measurement data is available;
list of measured cross-section data: one film contains a plurality of frames of images, so that image frame measurement information is distinguished according to the frame number;
measuring a long-axis primitive list: the number of measurements performed by the long-axis image area of a movie;
measurement result data: measurement result data on a certain frame image of a movie;
measurement calculation result data: a measurement calculation result on a certain frame image of a movie;
measurement calculation type: a%, calculating the area ratio of the current object to the REF object; d%, calculating the ratio of the major axis of the current object relative to the REF object;
list of measurement cross-section primitives: the number of measurements performed in a cross-sectional image area of a movie in one frame;
measuring a primitive: distinguishing different measuring primitives according to the measuring types, wherein the measuring primitives describe the drawing method, the measuring result style, the measuring result calculation mode, the measuring line color, the line width and the line type of the primitive of the type, and measuring labels;
measuring the type of the primitive: cross-sectional distance measurement (distance measurement in any direction); long axis distance measurement (distance measurement in the vertical direction); the same kind of measurement cursor is used;
angular measurement (three points determine the angle); configuring an angle measurement cursor and an angle measurement editing cursor;
manual tracing (curve contour tracing); automatic tracing (algorithmic calculated curve profile); this manual tracing and automatic tracing may use the same measurement cursor;
that is, in the present embodiment, a total of 4 measurement types (e.g., distance measurement, angle measurement, manual tracing, automatic tracing) may be included; can include 5 measurement primitive types (such as cross-section distance measurement primitive, long-axis distance measurement primitive, angle measurement primitive, manual trace measurement primitive, automatic trace measurement primitive); can include 3 measurement cursor types (such as straight line measurement cursor, angle measurement cursor, trace measurement cursor);
measurement information hierarchy structure:
the measurement information of one movie includes: the film long axis area measurement information, the film cross section area measurement information of each frame, and the REF object selected by the film;
each frame of measurement information includes: measurement results on the image frame, measurement calculation results, cross-section measurement primitive list (representing the number of measurements completed);
the minimum unit of measurement information is a measurement primitive, but due to the complexity of intravascular image presentation, measurement information is organized and managed according to the hierarchical structure of a movie.
And S102, when the measurement information confirmation instruction is received, exiting the editing mode of the measurement information, and storing the measurement information as standard measurement information.
The measurement information confirmation instruction may specifically be a confirmation instruction that a user determines that the editing of the measurement information is completed by operating the input device after determining that the currently drawn measurement information meets the requirement. For example, the user clicks a button for confirming that the editing of the measurement information is completed, or the user clicks a button for saving the measurement information.
And when the measurement information confirmation instruction is received, the editing mode of the measurement information is exited. The editing mode can be a mode for drawing and adjusting the measurement information.
The standard measurement information may include any one or more of measurement type of the measurement information, position coordinates of the measurement information relative to the ultrasound image, measurement values, other parameters, and the like (the position coordinates may be coordinate values in a rectangular coordinate system on the ultrasound image or in other coordinate systems; the origin of the coordinate system may be a geometric center of the ultrasound image or a vertex of any angle or a custom point; and the coordinate precision may be defined by pixel points); the standard measurement information may be a unified storage format commonly used for any information type (if a certain measurement type does not contain any data, the value of the data may be null), or may vary according to the type. For example, when the measurement type is a trace line, the standard measurement information may include the measurement type is a trace line, the position coordinates of all the feature points, or may include only the position coordinates of all the feature points; when the measurement type is a straight line segment, the standard measurement information may include the measurement type is the straight line segment, the position coordinates of two end points of the straight line segment, and may also include the length of the straight line segment (i.e., a measurement value); when the measurement type is an angle line, the standard measurement information may include the measurement type being an angle line, an angle vertex position coordinate, a position coordinate of any point on both sides, an angle value, and the like; when the measurement information is a text (for example, a doctor marks a name of a biological structure), the standard measurement information may include the measurement type of the text, the position coordinates of the center point (or any feature point) of the text, the text content, the text number, and the like. The content of the standard measurement information storage is not limited to the above example, and may be flexibly selected according to the function of the ultrasonic diagnostic apparatus, the requirement of the user, and the like.
S103, when the measurement information activation instruction is received, reading the standard measurement information and analyzing the standard measurement information into measurement information, and enabling the measurement information to enter an editing mode again.
The measurement information activating instruction may be specifically an activating instruction for the user to restart the ultrasound image measurement information editing mode after exiting the ultrasound image measurement information editing mode, such as clicking a re-editing button or moving a cursor to the measurement information to click and activate. Of course, the measurement information activating instruction may also be an instruction for activating the editing mode of the measurement information when the ultrasound image is opened again, for example, when the ultrasound image is called back, the ultrasound image enters the editing mode of the measurement information again when the ultrasound image is found to be incorrect or missing and needs to be edited again.
Reading and analyzing the standard measurement information into measurement information, and enabling the measurement information to enter an editing mode again, wherein the reading of the standard measurement information can be specifically realized, a drawing image on an ultrasonic image is displayed as the measurement information, a corresponding processing program is started to read user operation and analyze the user operation instruction, and the measurement information enters the editing mode again. And reading the standard measurement information, and drawing and displaying the measurement information on the ultrasonic image again, wherein the process can be regarded as the inverse process of the storage process of the measurement information.
Specifically, if the standard measurement information is stored, the standard measurement information is converted into a binary file by using a serialization technology and is stored; accordingly, the reading of the standard measurement information may specifically be: the binary file is read and converted into standard measurement information by using an deserialization technology. In which Serialization techniques (Serialization) are processes that transform state information of objects into a form that can be stored or transmitted. During serialization, the current state of the measurement information may be written to a temporary or persistent storage area. The measurement information can later be recreated by reading or deserializing the state of the object from the storage area. The deserialization technology comprises the following steps: reading object state information from a storage area and constructing an object; there are many mature schemes for Serialization and deserialization, such as Json/XML, Protobuf, Boost, and Serialization. Referring to fig. 4, a memory callback is implemented by using Boost serialization.
Preferably, when the standard measurement information includes the measurement type of the measurement information, the corresponding processing program may be started to display the measurement information and/or analyze the user operation instruction according to the measurement type analyzed when the standard measurement information is read. The processing program may change the display effect of the measurement information and/or other elements (e.g., a cursor) on the operation interface according to the measurement type, or may determine the processing task to be executed according to a preset relationship between the user operation instruction and the processing task in the measurement type. For example, when the measurement type is trace, the handler may determine from the key click a particular location coordinate that the processing task to be performed is to fit a new trace line from the location coordinate; when the measurement type is a straight line segment, the processing program may determine, based on a key click on any one of end points of the straight line segment, that the processing task to be performed is to bring the end point into a movable state, change the position of the end point in accordance with the cursor position movement while changing the length and/or direction of the straight line segment.
In the existing measurement storage, the measurement information is solidified on the ultrasonic image, the measurement information and the ultrasonic image are stored in a screen capture file mode, and the screen capture file is taken as a whole picture, so that the requirements of subsequent re-measurement, re-editing and the like are difficult to meet. Based on the method, when the editing mode of the measurement information exits, the measurement information is separately stored in the form of standard measurement information. Upon receiving the measurement information activation instruction, the standard measurement information may be read and the edit mode is entered again. The requirement of re-editing the measurement information under the scene such as callback can be met.
It should be noted that, based on the above embodiments, the embodiments of the present invention also provide corresponding improvements. In the preferred/improved embodiment, the same steps as those in the above embodiment or corresponding steps may be referred to each other, and corresponding advantageous effects may also be referred to each other, which are not described in detail in the preferred/improved embodiment herein.
Preferably, in this embodiment, in order to enter the editing mode of the measurement information again, the measurement information needs to be stored as the standard measurement information while exiting the editing mode of the measurement information, and when receiving the measurement information activation instruction, the standard measurement information is read and analyzed as the measurement information, so that the measurement information enters the editing mode again. The specific implementation process includes but is not limited to the following specific implementation processes:
in the step S101, the storing the measurement information as the standard measurement information may specifically include: converting the measurement information into standard measurement information corresponding to the standard position coordinate by using a conversion function in combination with conversion parameters determined according to the corresponding relation between the position coordinate of the ultrasonic image and the standard position coordinate;
accordingly, in step S103, reading the standard measurement information and analyzing the standard measurement information into measurement information may specifically include: and reading the standard measurement information, and reversely converting the standard measurement information into the measurement information by using the conversion function and the conversion parameter.
The conversion parameter is a corresponding relationship between the position coordinate of the ultrasound image and the standard coordinate, and the conversion parameter may specifically include at least one of scaling, shifting and rotating. The conversion function is a function that scales, shifts and rotates the measurement information according to the conversion parameters.
That is, when the measurement information is stored as the standard measurement information, the conversion parameter may be determined in conjunction with the correspondence relationship between the position coordinates of the overspeed image and the standard position coordinates using the conversion function, and then the measurement information is converted into the standard measurement information corresponding to the standard position coordinates based on the conversion parameter. That is, the position coordinate correspondence value of the measurement information and the standard position coordinate are stored.
Specifically, considering that when the measurement information is stored, the ultrasound image corresponding to the measurement information may not be the standard ultrasound image (i.e. the ultrasound image in the non-standard position coordinate is displayed in full screen, but the current ultrasound image is not displayed in full screen), the measurement information is converted into the standard measurement information corresponding to the standard position coordinate and then stored. The measurement information may be stored after being standardized and formatted by at least one of rotation, scaling and offset of the conversion function, and the conversion parameters include rotation parameters, scaling parameters and offset parameters. It should be noted that, in the present embodiment, although the standard format conversion parameter includes the rotation parameter, the scaling parameter and the offset parameter, specific values of these three parameters are not limited. That is, when the formats of the ultrasound image and the standard ultrasound image are consistent, that is, the size, the direction (or the angle), and the display position are consistent, the rotation parameter, the zoom parameter, and the offset parameter may all be 0; of course, when there is a size difference between the ultrasound image and the standard ultrasound image, the scaling parameter corresponds to the size ratio between the ultrasound image and the standard ultrasound image; when the angle difference exists between the ultrasonic image and the standard ultrasonic image, the rotation parameter is the angle difference between the ultrasonic image and the standard ultrasonic image; when there is a position difference between the ultrasound image and the standard ultrasound image, the offset parameter is a position offset between the ultrasound image and the standard ultrasound image (e.g., at least one of the offset in the transverse direction and the offset in the longitudinal direction is not zero).
Further, in practical applications, zooming, rotating, switching display positions, and the like are required during the displaying of the ultrasound image. In order to change the measurement information corresponding to the numbered ultrasound image with the change of the image, the measurement information can be edited again. In the process of realizing the re-editing of the measurement information, the following operations can be executed:
when the ultrasonic image is changed into the target ultrasonic image, the conversion parameter is synchronously changed into the target conversion parameter according to the change relation of the ultrasonic image; accordingly, the standard measurement information is reversely converted into the measurement information by using the conversion function and the conversion parameter, and the method comprises the following steps: converting the measurement information into target standard measurement information corresponding to the standard position coordinates by using a conversion function in combination with the target conversion parameters; accordingly, reading and resolving the standard measurement information into measurement information includes: and reading the target standard measurement information, and reversely converting the target standard measurement information into measurement information by using a conversion function and combining target conversion parameters.
Because the ultrasound image change mainly includes rotation, scaling and offset, the ultrasound image is changed into a target ultrasound image, including at least one change processing of rotation, scaling and offset is performed on the ultrasound image, and accordingly, the target conversion parameter is a conversion parameter processed by a change parameter corresponding to the rotation parameter, the scaling parameter and the offset parameter.
Preferably, the standard measurement information further includes a measurement type of the measurement information; correspondingly, when the measurement information activation instruction is received, the measurement type is analyzed, and a corresponding processing program is started to display the measurement information and/or analyze the user operation instruction. Therefore, when the standard measurement information is analyzed, the specific type of the measurement information can be determined, and when the editing mode of the measurement information is carried out again, the processing program corresponding to the measurement information can be started to display the measurement information, or the user operation instruction can be analyzed, or the processing program corresponding to the measurement information is started to display the measurement information and analyze the user operation instruction. For example, when the standard measurement information stores a trace line as the measurement type, the trace line editing processing program is started to display the trace line corresponding to the measurement information, and the user operation instruction is recognized so as to re-edit the trace line.
In order to make those skilled in the art better understand the method for editing ultrasound image measurement information provided by the embodiment of the present invention, the following describes the method for editing ultrasound image measurement information in detail with reference to several common specific application scenarios.
The application scene one:
the measurement information is stored as standard measurement information, and can be used for editing the measurement information again under the condition of dealing with the change of the ultrasonic image. Specifically, referring to fig. 2(b), the method for editing ultrasound image measurement information in the present invention includes the following steps:
s201, the measurement information is rendered on the ultrasound image a0 in accordance with the measurement information rendering instruction.
S202, when the measurement information confirmation instruction is received, the editing mode of the measurement information is quitted, the conversion parameter a0 is obtained, and the transformation function is substituted to convert the position coordinate of the measurement information relative to the ultrasonic image A0 into the standard position coordinate and store the standard position coordinate into the standard measurement information.
The conversion function is calculated according to the conversion parameters, and when the ultrasonic image changes, the conversion parameters synchronously change according to the change relation of the ultrasonic image.
Generally, changing the display state of the ultrasound image according to the user operation instruction includes: at least one of zooming, shifting, and rotating the ultrasound image, the zooming and shifting being particularly manifested in changing a normally displayed ultrasound image to one of a plurality of displayed modes. Therefore, it is preferable that the conversion parameters include a rotation parameter, a scaling parameter, and an offset parameter, which are synchronously changed according to the changing relationship of the ultrasound image. For example, the rotation parameter may be defined by an angle, and when the ultrasound image is rotated by a specific angle, the rotation parameter is also changed by the same angle; similarly, the zoom parameter may be defined in terms of zoom and the offset parameter may be defined in terms of pixels, all of which produce a synchronous, equal number of changes following changes in the ultrasound image. With the above definition, when the measurement information is stored as the standard measurement information, since the ultrasound image is not changed, the conversion parameter may be an initial conversion parameter (for example, the rotation parameter is 0, the scaling parameter is 1, and the offset parameter is 0), and the conversion function converts the position coordinate of the measurement information with respect to the ultrasound image a1 into the standard position coordinate by using the initial conversion parameter.
The standard measurement information may be measurement information obtained by converting the measurement information into a measurement standard format. The standard measurement format may be a user-defined format, and may be measurement information P0
(x0, y0) is a standard reference frame with respect to the single image position S0, and for any image position S, the measurement point P (x, y) on the image needs to pass through a transfer function
Figure BDA0002347901670000111
Conversion to point P0(x0, y0) standard format. Fig. 3 stores a schematic diagram of the measurement transformation during the callback process.
Reading the measurement binary file into a memory by adopting an anti-serialization technology, and converting according to image parameters; the callback requires that the standard format measurement point P0(x0, y0) be passed through a transfer function according to the image parameters (translation, rotation angle, scaling)
Figure BDA0002347901670000112
Converted to display format measurement point P (x, y). Wherein:
Figure BDA0002347901670000113
→ translation amount; θ → rotation angle; γ → scale.
It can be seen that in this embodiment, the standard measurement information includes standard location coordinates. Of course, the standard measurement information may also include other data under the foregoing embodiments so that other steps or procedures may be performed using the data.
S203, monitoring that the ultrasonic image A0 is changed into the ultrasonic image A1, and synchronously changing the conversion parameter a0 into the conversion parameter a 1.
The user operation causes the ultrasound image to change (e.g., zoom, offset, rotate), and the transformation parameter changes synchronously according to the change of the ultrasound image.
S204, when a measurement information activation instruction is received, reading the standard measurement information, bringing the standard measurement information into a conversion function by using a conversion parameter a1, reversely converting the standard position coordinate into a target position coordinate, converting the standard measurement information into target measurement information, drawing and displaying the target measurement information on the ultrasonic image A1, and enabling the target measurement information to enter an editing mode again.
When the standard measurement information is converted into the target measurement information, the standard position coordinates are converted into the target position coordinates, if the standard measurement information comprises other data besides the standard position coordinates, whether the other data are converted or not can be adjusted according to actual conditions. For example, if the standard measurement information further includes a measurement type, the measurement type may not be converted when the measurement information is converted into the standard measurement information and the standard measurement information is converted into the target measurement information. Of course, if the standard measurement information contains other data that needs to be changed as the ultrasound image changes, a corresponding conversion rule should be formulated.
In step S204, the measurement storage callback process may be regarded as a specific implementation process of the measurement storage callback as shown in fig. 5. Therefore, the measurement information can be recalled, namely, the editing mode of secondarily starting the measurement information is realized, and the editing requirement on the measurement information in the callback process is met.
Application scenario two:
and after the ultrasonic image is changed, entering a reediting mode of the measurement information on the changed ultrasonic image. Specifically, referring to fig. 2(c), the method for editing ultrasound image measurement information in the present invention includes the following steps:
s301, monitoring that the ultrasonic image B0 changes into the ultrasonic image B1, and the conversion parameter B0 synchronously changes into the target conversion parameter B1.
At this time, the user changes the ultrasound image before drawing the measurement information, and for example, the user turns the ultrasound image B0 at a certain angle to change the ultrasound image B1, which is considered inconvenient for measurement.
S302, the measurement information is rendered on the ultrasound image B1 in accordance with the measurement information rendering instruction.
And S303, when the measurement information confirmation instruction is received, exiting the editing mode of the measurement information, acquiring a conversion parameter B1, bringing in a conversion function, converting the position coordinate of the measurement information relative to the ultrasonic image B1 into a standard position coordinate, and storing the standard position coordinate into the standard measurement information.
S304, when a measurement information activation instruction is received, reading the standard measurement information, bringing the standard measurement information into a conversion function by using a conversion parameter B1, reversely converting the standard position coordinate into a target position coordinate, converting the standard measurement information into target measurement information, drawing and displaying the target measurement information on the ultrasonic image B1, and enabling the target measurement information to enter an editing mode again.
Application scenario three:
and dynamically monitoring the change of the ultrasonic image, and dynamically entering a reediting mode of the measurement information on the dynamically changed ultrasonic image. Specifically, referring to fig. 2(d), the method for editing ultrasound image measurement information in the present invention includes the following steps:
s401, monitoring that the ultrasonic image C0 changes into an ultrasonic image C1, and the conversion parameter C0 synchronously changes into a target conversion parameter C1.
S402, the measurement information is rendered on the ultrasound image C1 in accordance with the measurement information rendering instruction.
And S403, when the measurement information confirmation instruction is received, exiting the editing mode of the measurement information, acquiring the conversion parameter C1, substituting the conversion function to convert the position coordinate of the measurement information relative to the ultrasonic image C1 into a standard position coordinate, and storing the standard position coordinate into the standard measurement information.
S404, monitoring that the ultrasonic image C1 changes into the ultrasonic image C2, and synchronously changing the conversion parameter C1 into the conversion parameter C2.
S405, when a measurement information activation instruction is received, reading standard measurement information, bringing a conversion function by using a conversion parameter C2, reversely converting the standard position coordinate into a target position coordinate, converting the standard measurement information into target measurement information, drawing and displaying the target measurement information on an ultrasonic image C2, and enabling the target measurement information to enter an editing mode again.
As can be seen from the above three specific application scenarios, the ultrasound image measurement information editing method of the present invention can be applied to any situation where an ultrasound image changes. According to the same principle, the change of the ultrasonic image between any operation steps can be dealt with only by defining the conversion function and the conversion parameter, and the change times of the ultrasonic image are not limited. The measurement information suitable for the latest ultrasound image can be redrawn as long as the latest conversion parameters are obtained when the editing is finally reactivated and the conversion function is brought in for reverse analysis. It can be seen that in this embodiment, the original ultrasound image without change is used as a reference to calculate and store the standard position coordinates, and it is inferred that the ultrasound image in any intermediate change state can also be used as a reference to achieve the same technical effect by using the same principle as above.
Example two:
corresponding to the above method embodiments, the present invention further provides an ultrasound image measurement information editing apparatus, and the ultrasound image measurement information editing apparatus described below and the ultrasound image measurement information editing method described above may be referred to in correspondence with each other.
Referring to fig. 6, the apparatus includes the following modules:
a measurement information drawing module 101, configured to draw measurement information on the ultrasound image according to the measurement information drawing instruction;
an editing mode exit module 102, configured to exit the editing mode of the measurement information and store the measurement information as standard measurement information when receiving the measurement information confirmation instruction;
and the edit mode restarting module 103 is configured to, when receiving the measurement information activation instruction, read the standard measurement information and analyze the standard measurement information into measurement information, so that the measurement information enters the edit mode again.
Preferably, the editing mode exiting module 102 is specifically configured to convert the measurement information into standard measurement information corresponding to the standard position coordinate by using a conversion function in combination with a conversion parameter determined according to a correspondence between the position coordinate of the ultrasound image and the standard position coordinate;
accordingly, the edit mode restart module 103 is specifically configured to read the standard measurement information and reversely convert the standard measurement information into the measurement information by using the conversion function in combination with the conversion parameter.
Preferably, the method further comprises the following steps:
the conversion parameter adjusting module is used for synchronously changing the conversion parameters into target conversion parameters according to the change relation of the ultrasonic images when the ultrasonic images are changed into the target ultrasonic images;
an edit mode exit module 102, specifically configured to convert the measurement information into target standard measurement information corresponding to the standard position coordinates by using a conversion function in combination with the target conversion parameters;
accordingly, the edit mode restart module 103 is specifically configured to read the target standard measurement information, and reversely convert the target standard measurement information into the measurement information by using the conversion function in combination with the target conversion parameter.
Preferably, the conversion parameter adjusting module is specifically configured to change the ultrasound image into the target ultrasound image, including performing at least one of a rotation process, a zoom process and a shift process on the ultrasound image, and accordingly, the target conversion parameter is a conversion parameter after the conversion parameter corresponding to the change parameter among the rotation parameter, the zoom parameter and the shift parameter is processed.
Preferably, the editing mode exiting module 102 is specifically configured to convert the standard measurement information into a binary file by using a serialization technique and store the binary file;
accordingly, the edit mode restart module 103 is specifically configured to read the binary file and convert the binary file into standard measurement information by using an deserialization technique.
Preferably, the standard measurement information further includes a measurement type of the measurement information; correspondingly, when the measurement information activation instruction is received, the measurement type is analyzed, and a corresponding processing program is started to display the measurement information and/or analyze the user operation instruction.
Preferably, the measurement information includes at least one of a trace line, a straight line segment, an angle line, and a letter.
Example three:
corresponding to the above method embodiment, an embodiment of the present invention further provides an ultrasound diagnostic apparatus, and an ultrasound diagnostic apparatus described below and an ultrasound image measurement information editing method described above may be referred to in correspondence with each other.
Referring to fig. 7, the ultrasonic diagnostic apparatus includes:
an input device D1 for inputting operation instructions
An output/display device D2 for displaying the ultrasound images and the measurement information;
a memory D3 for storing computer programs;
and a processor D4 for implementing the steps of the method for editing ultrasound image measurement information as described above when executing the computer program.
The input device may be a mouse (such as a trackball), a keyboard, a touch screen, or other devices capable of inputting an operation instruction; the output/display device, which may be embodied as a display, may also be a display output interface, and is applied to the connection of the display, so that the display can display the ultrasound image and the measurement information.
Example four:
corresponding to the above method embodiment, an embodiment of the present invention further provides a readable storage medium, and a readable storage medium described below and an ultrasound image measurement information editing method described above may be referred to in correspondence with each other.
A readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the ultrasound image measurement information editing method of the above-mentioned method embodiment.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
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 components and steps have been described above generally in terms of their functionality in order to clearly illustrate this 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 implementation. 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.

Claims (10)

1. An ultrasound image measurement information editing method, comprising:
drawing the measurement information on the ultrasonic image according to the measurement information drawing instruction;
when a measurement information confirmation instruction is received, exiting the editing mode of the measurement information, and storing the measurement information as standard measurement information;
and when a measurement information activation instruction is received, reading the standard measurement information and analyzing the standard measurement information into the measurement information, so that the measurement information enters an editing mode again.
2. The ultrasound image measurement information editing method according to claim 1, wherein storing the measurement information as the standard measurement information includes:
converting the measurement information into standard measurement information corresponding to a standard position coordinate by using a conversion function in combination with a conversion parameter determined according to a correspondence between the position coordinate of the ultrasound image and the standard position coordinate;
accordingly, reading and resolving the standard measurement information into the measurement information includes:
and reading the standard measurement information, and reversely converting the standard measurement information into the measurement information by using the conversion function and the conversion parameter.
3. The ultrasound image measurement information editing method according to claim 2, further comprising: when the ultrasonic image is changed into a target ultrasonic image, the conversion parameter is synchronously changed into a target conversion parameter according to the change relation of the ultrasonic image;
correspondingly, the inverse conversion of the standard measurement information into the measurement information by using the conversion function and the conversion parameter comprises: converting the measurement information into target standard measurement information corresponding to the standard position coordinates by using the conversion function in combination with the target conversion parameters;
accordingly, reading and resolving the standard measurement information into the measurement information includes: and reading the target standard measurement information, and reversely converting the target standard measurement information into the measurement information by using the conversion function and combining the target conversion parameters.
4. The method for editing ultrasound image measurement information according to claim 3, wherein changing the ultrasound image into a target ultrasound image includes performing at least one of rotation, scaling and shifting on the ultrasound image, and accordingly, the target transformation parameter is the transformation parameter after being processed corresponding to the change parameter among the rotation parameter, the scaling parameter and the shifting parameter.
5. The ultrasound image measurement information editing method according to any one of claims 1 to 4, wherein storing the measurement information as standard measurement information includes:
converting the standard measurement information into a binary file by using a serialization technology and storing the binary file;
accordingly, the reading the standard measurement information includes:
and reading the binary file, and converting the binary file into the standard measurement information by using an deserialization technology.
6. The ultrasound image measurement information editing method according to any one of claims 1 to 4, wherein the standard measurement information further includes a measurement type of the measurement information;
correspondingly, when the measurement information activation instruction is received, the measurement type is analyzed, and a corresponding processing program is started to display the measurement information and/or analyze a user operation instruction.
7. The ultrasound image measurement information editing method according to any one of claims 1 to 4, wherein the measurement information includes at least one of a trace line, a straight line segment, an angle line, and a letter.
8. An ultrasound image measurement information editing apparatus, comprising:
the measurement information drawing module is used for drawing the measurement information on the ultrasonic image according to the measurement information drawing instruction;
the editing mode quitting module is used for quitting the editing mode of the measurement information and storing the measurement information as standard measurement information when receiving a measurement information confirmation instruction;
and the editing mode restarting module is used for reading the standard measurement information and analyzing the standard measurement information into the measurement information when receiving a measurement information activation instruction, so that the measurement information enters an editing mode again.
9. An ultrasonic diagnostic apparatus characterized by comprising:
an input device for inputting an operation instruction
A display device for displaying the ultrasonic image and the measurement information;
a memory for storing a computer program;
a processor for implementing the steps of the ultrasound image measurement information editing method according to any one of claims 1 to 7 when executing the computer program.
10. A readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the ultrasound image measurement information editing method according to any one of claims 1 to 7.
CN201911402928.1A 2019-12-30 2019-12-30 Ultrasonic image measurement information editing method, device, equipment and readable storage medium Active CN111145312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911402928.1A CN111145312B (en) 2019-12-30 2019-12-30 Ultrasonic image measurement information editing method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911402928.1A CN111145312B (en) 2019-12-30 2019-12-30 Ultrasonic image measurement information editing method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111145312A true CN111145312A (en) 2020-05-12
CN111145312B CN111145312B (en) 2023-07-07

Family

ID=70522230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911402928.1A Active CN111145312B (en) 2019-12-30 2019-12-30 Ultrasonic image measurement information editing method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111145312B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112244888A (en) * 2020-09-30 2021-01-22 宁波市科技园区明天医网科技有限公司 Heart ultrasonic measuring system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10257218A (en) * 1997-03-06 1998-09-25 Ricoh Co Ltd Image edit device
US6429861B1 (en) * 1999-08-03 2002-08-06 Acuson Corporation Method and apparatus for editing 3-D medical diagnostic ultrasound images
JP2006141997A (en) * 2004-10-19 2006-06-08 Toshiba Corp Ultrasonic diagnostic apparatus
US20090013036A1 (en) * 2007-07-06 2009-01-08 Nhn Corporation Method and system for sharing information on image data edited by editing applications
CN101500062A (en) * 2008-01-29 2009-08-05 京瓷美达株式会社 Method forming apparatus and image information saving method
CN107797737A (en) * 2017-09-26 2018-03-13 努比亚技术有限公司 The method, apparatus and computer-readable recording medium that picture is edited again
CN110533655A (en) * 2019-08-30 2019-12-03 深圳开立生物医疗科技股份有限公司 Metrical information processing method, device, ultrasonic device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10257218A (en) * 1997-03-06 1998-09-25 Ricoh Co Ltd Image edit device
US6429861B1 (en) * 1999-08-03 2002-08-06 Acuson Corporation Method and apparatus for editing 3-D medical diagnostic ultrasound images
JP2006141997A (en) * 2004-10-19 2006-06-08 Toshiba Corp Ultrasonic diagnostic apparatus
US20090013036A1 (en) * 2007-07-06 2009-01-08 Nhn Corporation Method and system for sharing information on image data edited by editing applications
CN101500062A (en) * 2008-01-29 2009-08-05 京瓷美达株式会社 Method forming apparatus and image information saving method
CN107797737A (en) * 2017-09-26 2018-03-13 努比亚技术有限公司 The method, apparatus and computer-readable recording medium that picture is edited again
CN110533655A (en) * 2019-08-30 2019-12-03 深圳开立生物医疗科技股份有限公司 Metrical information processing method, device, ultrasonic device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112244888A (en) * 2020-09-30 2021-01-22 宁波市科技园区明天医网科技有限公司 Heart ultrasonic measuring system

Also Published As

Publication number Publication date
CN111145312B (en) 2023-07-07

Similar Documents

Publication Publication Date Title
CN102576561B (en) For the apparatus and method of editing
US9063630B2 (en) Single axis zoom
WO2020107850A1 (en) Large-screen scene editing method, apparatus and computer-readable storage medium
CN110796712A (en) Material processing method, device, electronic equipment and storage medium
US11410701B2 (en) Systems and methods for direct video retouching for text, strokes and images
CN111597628B (en) Model marking method and device, storage medium and electronic equipment
CN110727825A (en) Animation playing control method, device, server and storage medium
CN111145312A (en) Ultrasonic image measurement information editing method, device, equipment and readable storage medium
CN112416332B (en) Graphical programming interface display method, device, equipment and medium
CN111125564B (en) Thermodynamic diagram generation method, thermodynamic diagram generation device, thermodynamic diagram generation computer device and thermodynamic diagram generation storage medium
CN116245052A (en) Drawing migration method, device, equipment and storage medium
CN110909261A (en) Time axis processing method, device, equipment and storage medium
CN109101144B (en) Thermodynamic diagram drawing method and device
CN113850884A (en) Method and device for generating mulberry basic diagram, electronic equipment and storage medium
JP3967885B2 (en) Image processing device
CN111932689A (en) Three-dimensional object rapid selection method adopting ID pixel map
CN116050036B (en) Power grid diagram construction method, device and equipment
CN114546199B (en) Image processing method, device, electronic equipment and storage medium
CN108958602B (en) Method and device for reading 3D PDF file on mobile terminal, mobile terminal and storage medium
KR101430632B1 (en) Method for displaying dynamic image of hmi using vector image format
JP2880605B2 (en) Graphic display device
CN114666645A (en) Video frame image labeling method and device, electronic equipment and storage medium
CN116957967A (en) 3D interface chromatic aberration solving method, system, equipment and medium
CN111755102A (en) Method and device for displaying pathological section
CN112947804A (en) Control method, system, equipment and medium for measuring equipment

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