CN111145312B - 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
CN111145312B
CN111145312B CN201911402928.1A CN201911402928A CN111145312B CN 111145312 B CN111145312 B CN 111145312B CN 201911402928 A CN201911402928 A CN 201911402928A CN 111145312 B CN111145312 B CN 111145312B
Authority
CN
China
Prior art keywords
measurement information
standard
ultrasonic 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.)
Active
Application number
CN201911402928.1A
Other languages
Chinese (zh)
Other versions
CN111145312A (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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Ultra Sonic Daignosis Equipment (AREA)

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 measurement information on the ultrasonic image according to the measurement information drawing instruction; when a measurement information confirmation instruction is received, exiting an editing mode of the measurement information, and storing the measurement information and relation parameters between the measurement information and an ultrasonic image; and when a measurement information activation instruction is received, reading the measurement information by using the relation parameters, and reentering an editing mode of the measurement information on the ultrasonic image. When exiting the editing mode of the measurement information, the method stores the measurement information and the corresponding relation between the measurement information and the ultrasonic image independently. 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 can be re-entered. 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 technology, and in particular, to an ultrasound image measurement information editing method, an ultrasound image measurement information editing apparatus, an ultrasound diagnostic device, and a readable storage medium.
Background
When the measurement information of the ultrasonic image is edited, once the editing mode is exited, the measurement information is confirmed and stored, and at the moment, the measurement information and the ultrasonic image are simultaneously captured and stored as new images, so that the measurement information cannot be edited again. If modification is required, only the measurement can be re-performed on this frame of ultrasound image, which is especially troublesome for the case where multiple measurement information is stored on one frame of ultrasound image, meaning that all measurement information requires re-measurement by the physician.
For example, when a doctor finishes measurement (such as manual tracing) on an ultrasonic image of a certain frame, and switches to measurement of ultrasonic images of other frames or switches to other films, if the doctor calls back to the ultrasonic image of the previous measurement, the information of the measurement cannot be modified; in addition, when the whole measured ultrasonic image is edited, for example, the measured ultrasonic image is rotated by a certain angle or is translated and zoomed to other display windows (such as one window in a plurality of displays), the previous measured information cannot be modified any more. However, in the initial measurement, the time and the image display effect may be limited, so that the measurement information does not reach the actual measurement requirement, the measurement effect is poor, 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 by those skilled in the art.
Disclosure of Invention
The invention aims to provide an ultrasonic image measurement information editing method, an ultrasonic image measurement information editing device, ultrasonic diagnosis equipment and a readable storage medium, so that the requirements of subsequent measurement and reediting can be met when an ultrasonic image is subjected to callback display, and the multi-window display of measurement information can be supported; supporting a dynamic playback function; a tag is supported that derives information for recording gear measurements.
In order to solve the technical problems, the invention provides the following technical scheme:
an ultrasonic image measurement information editing method, comprising:
drawing measurement information on the ultrasonic image according to the measurement information drawing instruction;
when a measurement information confirmation instruction is received, exiting an 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 the standard measurement information corresponding to the standard position coordinates by combining a conversion function with conversion parameters determined according to the corresponding relation between the position coordinates of the ultrasonic image and the standard position coordinates;
correspondingly, reading the standard measurement information and analyzing the standard measurement information into the measurement information, wherein the method comprises the following steps:
and reading the standard measurement information, and reversely converting the standard measurement information into the measurement information by utilizing the conversion function and combining the conversion parameters.
Preferably, the method further comprises: when the ultrasonic image is changed into a target ultrasonic image, the conversion parameters are synchronously changed into target conversion parameters according to the change relation of the ultrasonic image;
accordingly, reversely converting the standard measurement information into the measurement information by using the conversion function in combination with the conversion parameter includes: converting the measurement information into target standard measurement information corresponding to the standard position coordinates by combining the target conversion parameters by using the conversion function;
correspondingly, reading the standard measurement information and analyzing the standard measurement information into the measurement information, wherein the method comprises the following steps: and reading the target standard measurement information, and reversely converting the target standard measurement information into the measurement information by utilizing the conversion function and combining the target conversion parameter.
Preferably, the changing the ultrasound image into the target ultrasound image includes at least one of rotating, scaling and shifting the ultrasound image, and the target conversion parameter is the conversion parameter processed corresponding to the change parameter of the rotation parameter, the scaling parameter and the shifting parameter.
Preferably, 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 anti-serialization 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 trace line, straight line segment, angle line and text.
An ultrasonic 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 exit module is used for exiting the editing mode of the measurement information when receiving a measurement information confirmation instruction and storing the measurement information as standard measurement information;
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 the measurement information activating instruction, so that the measurement information enters the editing mode again.
A readable storage medium having stored thereon a computer program which, when 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 an 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 standard measurement information and analyzing the standard measurement information into measurement information, so that the measurement information enters an editing mode again.
Considering that the existing measurement storage is to solidify measurement information on an 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 edit mode of the measurement information. And when receiving the measurement information activation instruction, reading the standard measurement information and analyzing the standard measurement information into measurement information. So that the measurement information is subjected to the edit mode again. Thus, the requirement of editing the measurement information again in the scene such as callback can be met.
Correspondingly, the embodiment of the invention also provides an ultrasonic image measurement information editing device, ultrasonic diagnosis equipment and a readable storage medium corresponding to the ultrasonic image measurement information editing method, which have the technical effects and are not repeated herein.
Drawings
In order to more clearly illustrate the embodiments of the invention 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, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of an embodiment of an ultrasonic image measurement information editing method;
FIG. 2 (a) is a schematic diagram of a measurement information storage structure according to an embodiment of the present invention;
fig. 2 (b) is a schematic implementation diagram of a first specific application scenario in the embodiment of the present invention;
fig. 2 (c) is a schematic implementation diagram of a second specific application scenario in the embodiment of the present invention;
fig. 2 (d) is a schematic implementation diagram of a third specific application scenario in the embodiment of the present invention;
FIG. 3 is a schematic diagram of measurement transformation according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of serialization and deserialization according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a measurement store callback procedure in an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an ultrasonic image measurement information editing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural view of an ultrasonic diagnostic apparatus according to an embodiment of the present invention.
Detailed Description
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the 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.
Referring to fig. 1, fig. 1 is a flowchart of an ultrasonic image measurement information editing method according to an embodiment of the invention, the method can be applied to an ultrasonic diagnostic apparatus, and the method includes the following steps:
s101, drawing measurement information on an ultrasonic image according to a measurement information drawing instruction.
The measurement information drawing instruction may be an instruction for drawing measurement information, such as an instruction for drawing measurement information such as a trace, a straight line segment, an angle line, and a text, which is input by a user through an input device.
After the measurement information drawing instruction is obtained, the measurement information can be drawn on the measurement layer of the ultrasonic image. The measurement information comprises at least one measurement type of trace lines, straight line segments, angle lines and characters. The measurement information may be plotted on a measurement map layer on an ultrasound image.
For example, the measurement information may specifically include measurement movie data, REF data, long axis measurement primitive data, horizontal axis measurement primitive data, measurement result data, measurement% a,% D calculation data, which are organized in a manner to form a measurement information hierarchy as shown in fig. 2 (a).
The terms related to fig. 2 (a) are as follows:
measurement data management: measuring data access and modifying an entry;
measuring a cursor factory: creating measuring cursors of all measuring types, and selecting measuring cursors objects (such as 3 measuring cursors) according to the current measuring type;
measuring primitive factories: creating measurement primitives (the content is empty and is equivalent to a template) of all measurement types, and selecting corresponding measurement templates (5 kinds of measurement primitives) according to the measurement types created by a user;
movie measurement data list: because the measurement module can load a plurality of film-related measurement information at the same time; so there is a list to manage measurement information inside different movies;
measuring REF data: a movie has only a unique identifier (REF: reference object of the calculation result), so a movie has only 1 REF identifier;
measuring long axis data: a movie contains only one long axis image area, so there is only one long axis measurement data;
list of measured cross-section data: a movie contains a plurality of frames of images, so that image frame measurement information is distinguished by frame number;
measuring a long axis primitive list: the number of measurements made by a movie of the long axis image region;
measurement result data: measurement result data on a certain frame image of one movie;
measuring calculation result data: measurement calculations on a frame of an image of a film;
measurement calculation type: a, calculating the area ratio of the current object relative to the REF object; d, calculating the ratio of the length and the diameter of the current object relative to the REF object;
list of measurement cross-section primitives: the number of measurements made over the cross-sectional image area of a film;
measuring the graphic element: different measurement primitives are distinguished according to measurement types, and the measurement primitives describe the drawing method, the measurement result style, the measurement result calculation mode, the measurement line color, the line width, the line type and the measurement label of the primitives of the type;
measuring primitive types: cross-sectional distance measurement (distance measurement in any direction); long-axis distance measurement (distance measurement in the vertical direction); using the same measuring cursor;
angle measurement (three-point determination of angle); configuring an angle measurement cursor and an angle measurement editing cursor;
manual tracing (curve outline tracing); automatic tracing (algorithmically calculated curve profile); this manual trace and automatic trace may use the same measuring 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; may include 5 measurement primitive types (e.g., cross-sectional distance measurement primitive, long-axis distance measurement primitive, angle measurement primitive, manual tracing measurement primitive, automatic tracing measurement primitive); can include 3 types of measuring cursors (such as a linear measuring cursors, an angle measuring cursors, a tracing measuring cursors);
measurement information hierarchy:
the measurement information of one movie includes: the film long axis region measurement information, the film cross section region measurement information of each frame and the REF object selected by the film;
each frame of measurement information includes: measurement results, measurement calculation results, cross-section measurement primitive list (representing the number of measurements completed) on the image frame;
the minimum unit of measurement information is a measurement primitive, but due to the complexity of intravascular image presentation, the measurement information is organized and managed according to the hierarchical structure of movies.
And S102, 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.
The measurement information confirmation instruction may specifically be a confirmation instruction that the user determines that the editing of the measurement information is completed by controlling the input device after determining that the currently drawn measurement information meets the requirement. For example, the user clicks a button for confirming that editing of the measurement information is completed, or the user clicks save measurement information.
And when receiving the measurement information confirmation instruction, exiting the editing mode of the measurement information. The editing mode is 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 other data (where the position coordinates may be coordinate values under a rectangular coordinate system on the ultrasound image, or may be other coordinate systems, an origin of the coordinate system may be a geometric center of the ultrasound image or a vertex of any angle, or may be a custom point, and coordinate precision may be defined by using pixel points); the standard measurement information may be in a unified storage format (the value of a certain measurement type may be null if the data does not contain any item of data) which is commonly used for any information type, and may be changed according to different types. For example, when the measurement type is a trace, the standard measurement information may include the location coordinates of all the feature points or only the location coordinates of all the feature points; when the measurement type is a straight line segment, the standard measurement information can comprise the position coordinates of the straight line segment and two end points of the straight line segment, and can also comprise the length (namely a measurement value) of the straight line segment; when the measurement type is an angle line, the standard measurement information can comprise the measurement type such as the angle line, the angular vertex position coordinate, the two-side arbitrary point position coordinate, the angle value and the like; when the measurement information is text (e.g., a doctor marks a name of a biological structure), the standard measurement information may include location coordinates, text content, text number, etc. of the type of measurement that is text, a text center point (or any feature point). The content of the standard measurement information storage is not limited to the above-described example, and a flexible selection may be adopted in practice according to the function of the ultrasonic diagnostic apparatus, the needs of the user, and the like.
And S103, when a measurement information activation instruction is received, reading standard measurement information and analyzing the standard measurement information into measurement information, so that the measurement information enters an editing mode again.
The measurement information activation instruction may be specifically an activation instruction for the user to restart the editing mode of the measurement information after exiting the ultrasonic image measurement information editing mode, such as clicking a re-editing button, or moving a cursor onto the measurement information to perform click activation. Of course, the measurement information activation instruction may also start an activation instruction of the editing mode of the measurement information when the ultrasound image is opened again, for example, when callback, the measurement information is found to be wrong or missing and needs to be edited again, and then the measurement information editing mode is entered again.
Reading standard measurement information and analyzing the standard measurement information into measurement information, enabling the measurement information to enter an editing mode again, specifically, reading the standard measurement information, displaying a drawing image on an ultrasonic image as the measurement information, starting a corresponding processing program to read user operation and analyzing the user operation as a user operation instruction, and enabling the measurement information to enter the editing mode again. And reading standard measurement information, and drawing and displaying the measurement information on the ultrasonic image again, wherein the measurement information can be regarded as the inverse process of the measurement information storage process.
Specifically, if the standard measurement information is stored, converting the standard measurement information into a binary file by using a serialization technology and storing the binary file; accordingly, the reading of standard measurement information may be specifically: the binary file is read and converted to standard measurement information using an anti-serialization technique. Among them, serialization technology (Serialization) is a process of converting state information of an object 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. Later, the measurement information may be recreated by reading or de-serializing the state of the object from the storage area. Anti-serialization techniques: reading object state information from the storage area and constructing an object; there are many well-established schemes for serialization and deserialization techniques, such as Json/XML, protobuf, boost, serialization. Referring to FIG. 4, boost serialization is employed to implement the store callback.
Preferably, when the standard measurement information includes a 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 can change the display effect of measurement information and/or other elements (such as a cursor) on the operation interface according to the measurement type, and can also determine the processing task to be executed according to the preset relation between the user operation instruction and the processing task under the measurement type. For example, when the measurement type is a trace, the handler may click on a particular location coordinate from the key, determining that the processing task to be performed is to fit a new trace based on that location coordinate; when the measurement type is a straight line segment, the processing program can click any one end point of the straight line segment according to the key, determine that the processing task to be executed is to enable the end point to enter a movable state, change the position of the end point according to the cursor position movement and change the length and/or direction of the straight line segment.
Considering that the existing measurement storage is to solidify measurement information on an 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 individually in the form of standard measurement information when exiting the edit mode of the measurement information. Upon receiving the measurement information activation instruction, standard measurement information may be read, and the edit mode may be 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 further provide corresponding improvements. The preferred/improved embodiments relate to the same steps as those in the above embodiments or the steps corresponding to the steps may be referred to each other, and the corresponding advantages may also be referred to each other, so that detailed descriptions of the preferred/improved embodiments are omitted herein.
Preferably, in this embodiment, in order to be able to enter the editing mode of the measurement information again, the measurement information needs to be stored as standard measurement information while exiting the editing mode of the measurement information, and when a measurement information activation instruction is received, the standard measurement information is read and parsed into the measurement information, so that the measurement information enters the editing mode again. Specific implementations include, but are not limited to, the following:
in the above step S101, storing the measurement information as standard measurement information may specifically include: converting the measurement information into standard measurement information corresponding to the standard position coordinates by utilizing a conversion function in combination with conversion parameters determined according to the corresponding relation between the position coordinates of the ultrasonic image and the standard position coordinates;
accordingly, in the step S103, the reading of the standard measurement information and the analysis of the standard measurement information into the measurement information may specifically include: and reading standard measurement information, and reversely converting the standard measurement information into measurement information by utilizing a conversion function and combining conversion parameters.
Wherein, the conversion parameter is the corresponding relation between the position coordinates of the ultrasonic image and the standard coordinates, and the conversion parameter can specifically comprise at least one parameter of scaling, offset and rotation. The conversion function is a function that scales, offsets and rotates the measurement information according to the conversion parameters.
That is, when storing the measurement information as the standard measurement information, a conversion parameter may be determined by using a conversion function in combination with the correspondence of the position coordinates of the overspeed image and the standard position coordinates, 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 coordinates of the measurement information are stored corresponding to the value standard position coordinates.
Specifically, considering that when the measurement information is stored, the corresponding ultrasound image may not be a standard ultrasound image (i.e., an ultrasound image under a non-standard position coordinate, for example, the standard position coordinate is displayed in a full screen, and the current ultrasound image is displayed in a non-full screen), so the measurement information is converted into the standard measurement information corresponding to the standard position coordinate and then stored. The conversion parameters include rotation parameters, scaling parameters and offset parameters. In this embodiment, the standard format conversion parameters include a rotation parameter, a scaling parameter and an offset parameter, but specific values of the three parameters are not limited thereto. That is, when the format of the ultrasound image is consistent with that of the standard ultrasound image, i.e., the size, direction (or angle), and display position are all consistent, the rotation parameter, the scaling 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 positional difference between the ultrasound image and the standard ultrasound image, then the offset parameter is the amount of positional offset between the ultrasound image and the standard ultrasound image (e.g., at least one of lateral and longitudinal offset is not zero).
Further, in view of practical application, in the process of displaying an ultrasound image, zooming, rotating, switching display positions, and the like are required. In order to enable the measurement information corresponding to the numbered ultrasonic images to be changed along with the change of the images, the measurement information can be edited again. In the process of realizing the re-editing of the measurement information, the following operations can be performed:
when the ultrasonic image is changed into a target ultrasonic image, the conversion parameters are synchronously changed into target conversion parameters according to the change relation of the ultrasonic image; accordingly, the inverse conversion of standard measurement information into measurement information by using a conversion function in combination with conversion parameters includes: converting the measurement information into target standard measurement information corresponding to the standard position coordinates by combining a conversion function with the target conversion parameter; accordingly, reading standard measurement information and analyzing the standard measurement information into measurement information, including: and reading target standard measurement information, and reversely converting the target standard measurement information into measurement information by combining a conversion function with a target conversion parameter.
Because the ultrasound image change mainly comprises rotation, scaling and offset, the ultrasound image change is a target ultrasound image, and at least one of rotation, scaling and offset is performed on the ultrasound image, and accordingly, the target conversion parameter is a conversion parameter processed corresponding to the change parameter in the rotation parameter, scaling parameter and 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 performed again, the processing program corresponding to the measurement information can be started to display the measurement information, or the user operation instruction is 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 of the measurement type, a trace editing process program is started to display a trace corresponding to the measurement information, and a user operation instruction is identified so as to re-edit the trace.
In order to facilitate a person skilled in the art to better understand the method for editing ultrasonic image measurement information provided by the embodiment of the present invention, the method for editing ultrasonic image measurement information is described in detail below in conjunction with several common specific application scenarios.
Application scenario one:
the measurement information is stored as standard measurement information, and can be used for carrying out editing mode again on the measurement information under the circumstance of coping with ultrasonic image change. Specifically, referring to fig. 2 (b), the method for editing ultrasonic image measurement information in the present invention includes the following steps:
s201, drawing measurement information on the ultrasonic image A0 according to the measurement information drawing instruction.
And S202, when a measurement information confirmation instruction is received, exiting the editing mode of the measurement information, acquiring a conversion parameter A0, carrying the conversion function to convert the position coordinate of the measurement information relative to the ultrasonic image A0 into a standard position coordinate, and storing 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.
In general, changing the display state of an ultrasound image according to a user operation instruction includes: scaling and shifting of the ultrasound image, among other things, is embodied in changing the normally displayed ultrasound image to one of a plurality of displayed modes. Thus, preferably, 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 in terms of an angle, which also changes by the same angle when the ultrasound image is rotated by a particular angle; similarly, the scaling parameters may be defined in terms of scaling and the offset parameters may be defined in terms of pixels, all of which produce a synchronized, equivalent number of changes following the changes in the ultrasound image. By adopting the above definition, when the measurement information is stored as the standard measurement information, since the ultrasound image is unchanged, the conversion parameter can be made to be the 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 specifically measurement information after converting the measurement information into a measurement standard format. Wherein the measurement standard format is a custom format, and can measure information P0
(x 0, y 0) is a standard reference frame relative to the single image position S0, and for any image position S, the measurement point P (x, y) on the image needs to go through a conversion function
Figure BDA0002347901670000111
Converted to a point P0 (x 0, y 0) standard format. As in fig. 3, a schematic diagram of the measurement transformation during callback is stored.
The method can specifically adopt an anti-serialization technology to read the measurement binary file into the memory and convert the measurement binary file according to the image parameters; callback requires passing the standard format measurement point P0 (x 0, y 0) through a conversion function according to the image parameters (translation, rotation angle, scaling)
Figure BDA0002347901670000112
And converting into a display format measurement point P (x, y). Wherein: />
Figure BDA0002347901670000113
A translation amount; θ→rotation angle; gamma→scaling.
It can be seen that in this embodiment, the standard measurement information includes standard position coordinates. Of course, the standard measurement information may also include other data as in the previous embodiments, so that other steps or procedures may be performed using such data.
S203, detecting that the ultrasonic image A0 is changed into the ultrasonic image A1, and synchronously changing the conversion parameter A0 into the conversion parameter A1.
User manipulation causes the ultrasound image to change (e.g., zoom, offset, rotate), and the conversion parameters change synchronously according to the relationship of the ultrasound image changes.
S204, when a measurement information activation instruction is received, reading standard measurement information, using a conversion parameter A1 to bring a conversion function, reversely converting standard position coordinates into target position coordinates, converting the standard measurement information into target measurement information, drawing and displaying the target measurement information on an 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, and 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, the standard measurement information further includes a measurement type, and when the measurement information is converted into the standard measurement information and the standard measurement information is converted into the target measurement information, the measurement type may not be converted. Of course, if the standard measurement information contains other data that needs to be changed as the ultrasound image changes, the corresponding conversion rules should be formulated.
In step S204, the measurement storage callback procedure may be regarded as a specific implementation procedure of the measurement storage callback is shown in fig. 5. Therefore, the callback of the measurement information can be realized, namely, the editing mode of the measurement information is started for the second time, and the editing requirement of the measurement information in the callback process is met.
And (2) an application scene II:
after the ultrasonic image is changed, a reediting mode of the measurement information is entered on the changed ultrasonic image. Specifically, please refer to fig. 2 (c), the method for editing ultrasonic image measurement information in the present invention includes the following steps:
s301, detecting that the ultrasonic image B0 is changed into an ultrasonic image B1, and synchronously changing the conversion parameter B0 into a target conversion parameter B1.
At this time, the user changes the ultrasound image before drawing the measurement information, for example, the user considers that the measurement is inconvenient, and changes the ultrasound image B0 to the ultrasound image B1 by rotating the ultrasound image B0 by a certain angle.
S302, drawing measurement information on the ultrasonic image B1 according to the measurement information drawing instruction.
And S303, when a measurement information confirmation instruction is received, exiting the editing mode of the measurement information, acquiring a conversion parameter B1, carrying the conversion function to convert 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 standard measurement information, using a conversion parameter B1 to bring a conversion function, reversely converting standard position coordinates into target position coordinates, converting the standard measurement information into target measurement information, drawing and displaying the target measurement information on an ultrasonic image B1, and enabling the target measurement information to enter an editing mode again.
And (3) an application scene III:
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 ultrasonic image measurement information in the present invention includes the following steps:
s401, detecting that the ultrasonic image C0 is changed into an ultrasonic image C1, and synchronously changing the conversion parameter C0 into a target conversion parameter C1.
And S402, drawing measurement information on the ultrasonic image C1 according to the measurement information drawing instruction.
And S403, when a measurement information confirmation instruction is received, exiting the editing mode of the measurement information, acquiring a conversion parameter C1, carrying 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, detecting that the ultrasonic image C1 is changed into an ultrasonic image C2, and synchronously changing the conversion parameter C1 into the conversion parameter C2.
And S405, when a measurement information activation instruction is received, reading standard measurement information, using a conversion parameter C2 to bring a conversion function, reversely converting the standard position coordinate into a target position coordinate, converting the standard measurement information into target measurement information, and drawing and displaying the target measurement information on the ultrasonic image C2 to enable the target measurement information to enter an editing mode again.
From the three specific application scenarios, the ultrasonic image measurement information editing method of the invention can be applied to any situation where an ultrasonic image changes. According to the same principle, the ultrasonic image can be changed between any operation steps only by defining a conversion function and conversion parameters, and the number of times of ultrasonic image change is not limited. And as long as the latest conversion parameters are acquired during final reactivation editing, the latest conversion parameters are brought into the conversion function to carry out reverse analysis, and the measurement information suitable for the latest ultrasonic image can be drawn again. It can be seen that in this embodiment, the original ultrasonic image which is unchanged is used as a reference to calculate and store the standard position coordinates, and it can be deduced that the ultrasonic image in any intermediate change state can also be used as a reference to achieve the same technical effect on the same principle as described above.
Embodiment two:
corresponding to the above method embodiments, the embodiments of the present invention further provide an ultrasound image measurement information editing apparatus, which is described below, and the ultrasound image measurement information editing method described above may be referred to correspondingly with each other.
Referring to fig. 6, the apparatus includes the following modules:
the measurement information drawing module 101 is used for drawing the measurement information on the ultrasonic image according to the measurement information drawing instruction;
an edit mode exit module 102, configured to exit the edit mode of the measurement information and store the measurement information as standard measurement information when receiving a 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 parse the standard measurement information into measurement information, so that the measurement information enters the edit mode again.
Preferably, the editing mode exit module 102 is specifically configured to convert the measurement information into standard measurement information corresponding to the standard position coordinates by using a conversion function in combination with a conversion parameter determined according to a correspondence between the position coordinates of the ultrasound image and the standard position coordinates;
correspondingly, the edit mode restarting 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 conversion parameter adjustment 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 target ultrasonic images;
the editing mode exit module 102 is 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 parameter;
correspondingly, the edit mode restarting module 103 is specifically configured to read the target standard measurement information, and reversely convert the target standard measurement information into measurement information by using a conversion function in combination with the target conversion parameter.
Preferably, the conversion parameter adjustment module is specifically configured to change the ultrasound image into the target ultrasound image, and includes at least one of rotation, scaling and offset processing on the ultrasound image, and accordingly, the target conversion parameter is a conversion parameter processed corresponding to a change parameter in the rotation parameter, the scaling parameter and the offset parameter.
Preferably, the editing mode exit 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 restarting module 103 is specifically configured to read the binary file, and convert the binary file into standard measurement information by using a 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 the user operation instruction.
Preferably, the measurement information includes at least one of trace, straight line segment, angle line, and text.
Embodiment III:
corresponding to the above method embodiments, the present invention also provides an ultrasonic diagnostic apparatus, and an ultrasonic diagnostic apparatus described below and an ultrasonic image measurement information editing method described above may be referred to correspondingly to 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 ultrasonic image and the measurement information;
a memory D3 for storing a computer program;
and a processor D4 for implementing the steps of the ultrasonic image measurement information editing method as described above when executing the computer program.
The input device may be a mouse (such as a track ball), a keyboard, a touch screen or other devices capable of inputting operation instructions; the output/display device can be a display in particular or a display output interface, and is applied to the connection of the display so that the display can display ultrasonic images and measurement information.
Embodiment four:
corresponding to the above method embodiments, the embodiments of the present invention further provide a readable storage medium, where a readable storage medium described below and an ultrasound image measurement information editing method described above may be referred to correspondingly.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the ultrasound image measurement information editing method of the above method embodiment.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, and the like.
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 functionality 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.

Claims (10)

1. An ultrasonic image measurement information editing method, characterized by comprising:
drawing measurement information on the ultrasonic image according to the measurement information drawing instruction;
when a measurement information confirmation instruction is received, exiting an 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 the standard measurement information corresponding to the standard position coordinates by combining a conversion function with conversion parameters determined according to the corresponding relation between the position coordinates of the ultrasonic image and the standard position coordinates;
correspondingly, reading the standard measurement information and analyzing the standard measurement information into the measurement information, wherein the method comprises the following steps:
and reading the standard measurement information, and reversely converting the standard measurement information into the measurement information by utilizing the conversion function and combining the conversion parameters.
3. The ultrasonic image measurement information editing method according to claim 2, characterized by further comprising: when the ultrasonic image is changed into a target ultrasonic image, the conversion parameters are synchronously changed into target conversion parameters according to the change relation of the ultrasonic image;
accordingly, reversely converting the standard measurement information into the measurement information by using the conversion function in combination with the conversion parameter includes: converting the measurement information into target standard measurement information corresponding to the standard position coordinates by combining the target conversion parameters by using the conversion function;
correspondingly, reading the standard measurement information and analyzing the standard measurement information into the measurement information, wherein the method comprises the following steps: and reading the target standard measurement information, and reversely converting the target standard measurement information into the measurement information by utilizing the conversion function and combining the target conversion parameter.
4. The ultrasound image measurement information editing method according to claim 3, wherein changing the ultrasound image into a target ultrasound image includes performing at least one of a rotation, a scaling, and a shifting of the ultrasound image, and the target conversion parameter is the conversion parameter after the processing of the corresponding one of 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 anti-serialization 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 ultrasonic image measurement information editing method according to any one of claims 1 to 4, wherein the measurement information includes at least one of trace lines, straight line segments, angle lines, and letters.
8. An ultrasonic image measurement information editing apparatus, characterized by 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 exit module is used for exiting the editing mode of the measurement information when receiving a measurement information confirmation instruction and storing the measurement information as standard measurement information;
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 the measurement information activating instruction, so that the measurement information enters the editing mode again.
9. An ultrasonic diagnostic apparatus, comprising:
input means for inputting operation instructions
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, characterized in that the readable storage medium has stored thereon a computer program which, when executed by a processor, implements 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 CN111145312A (en) 2020-05-12
CN111145312B true 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)

Families Citing this family (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 (6)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100983481B1 (en) * 2007-07-06 2010-09-27 엔에이치엔(주) Method and system for sharing information on image-data edited by editing-applications

Patent Citations (6)

* 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
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

Also Published As

Publication number Publication date
CN111145312A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
US5852450A (en) Method and apparatus for processing captured motion data
US9135513B2 (en) Image processing apparatus and method for obtaining position and orientation of imaging apparatus
WO2016152633A1 (en) Image processing system, image processing method, and program
US9063630B2 (en) Single axis zoom
CN102985942A (en) Zooming-in a displayed image
CN111145312B (en) Ultrasonic image measurement information editing method, device, equipment and readable storage medium
US20130191771A1 (en) Vehicle measurement system with user interface
CN115393467A (en) House type graph generation method, device, equipment and medium
CN111110272B (en) Ultrasonic image measurement information display method, device and equipment and readable storage medium
CN114792345B (en) Calibration method based on monocular structured light system
CN111430012B (en) System and method for semi-automatically segmenting 3D medical images using real-time edge-aware brushes
CN110443772B (en) Picture processing method and device, computer equipment and storage medium
CN113850884A (en) Method and device for generating mulberry basic diagram, electronic equipment and storage medium
CN109101144B (en) Thermodynamic diagram drawing method and device
JP2552849B2 (en) Raster path generator
CN110909261A (en) Time axis processing method, device, equipment and storage medium
CN111125564B (en) Thermodynamic diagram generation method, thermodynamic diagram generation device, thermodynamic diagram generation computer device and thermodynamic diagram generation storage medium
EP2449340A1 (en) Vehicle measurement system with user interface
US20200250895A1 (en) Measurement method, measurement device, and recording medium
JPH0454628A (en) Image display device
CN112584217A (en) Picture identification method, device and system
CN111625210A (en) Large screen control method, device and equipment
CN117075789B (en) Handwriting display method, device and equipment of ink screen and storage medium
US20220157024A1 (en) Systems for Augmented Reality Authoring of Remote Environments
CN111553842B (en) Spliced picture display method and device, electronic equipment and storage medium

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