An ultrasonic movie playback control method, apparatus, device, and storage medium

By fitting the data trend curve of trackball offset and frame rate variation range using user-adjusted data in the ultrasonic movie playback control, the problem of mismatch between trackball swiping speed and frame rate adjustment is solved, thus realizing effective playback control of ultrasonic movies and user-friendly frame rate adjustment.

CN116149492BActive Publication Date: 2026-03-10SONOSCAPE MEDICAL CORP
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing ultrasound movie playback control methods, the different relationships between the trackball's different toggle speeds and frame rate adjustments result in the inability to effectively control the playback of ultrasound movies, leading to frame rate adjustments that are too fast or too slow, failing to meet user needs.

Method used

By obtaining user debugging data under different toggle levels, the range of change between trackball offset and toggle frame number is determined, and a data trend curve is obtained by fitting. Based on this curve, the number of frames corresponding to the toggle operation is controlled to achieve appropriate frame number changes.

Benefits of technology

It achieves effective control of ultrasound movie playback, avoiding excessively fast or slow frame rate changes, and is suitable for various trackballs and frame rates, meeting the user's expected adjustment effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116149492B_ABST
    Figure CN116149492B_ABST
Patent Text Reader

Abstract

This application discloses an ultrasound movie playback control method, which includes: obtaining adjustment data of the ultrasound movie by moving a trackball at different levels; determining the variation range corresponding to each level of movement; determining the offset critical point and the corresponding number of movement frames for each level of movement; fitting the offset critical point and the corresponding number of movement frames to obtain a data trend curve, so as to determine the corresponding number of movement frames based on the data trend curve and the trackball offset generated by the movement operation when controlling the ultrasound movie playback. Applying the technical solution provided in this application can effectively unify the adjustment speed of different trackballs for different numbers of ultrasound movie frames, facilitating effective control of ultrasound movie playback. This application also discloses an ultrasound movie playback control device, equipment, and storage medium, which have corresponding technical effects.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer application, in particular to an ultrasonic movie playing control method and device, equipment and storage medium. BACKGROUND

[0002] With the rapid development of ultrasonic medicine, the application of ultrasonic is more and more widely. Ultrasonic has good resolution ability to human soft tissue, and can obtain useful signals with high dynamic range, which is beneficial to identify the micro lesions of biological tissue. Ultrasonic movie can be obtained through ultrasonic scanning. The ultrasonic movie has a large number of frames, and the user can control the playing of the ultrasonic movie by rotating the trackball until the target frame is found.

[0003] The control of the playing of the ultrasonic movie mainly reflects the adjustment of the frame number of the ultrasonic movie. Different rotating speeds of the trackball correspond to different rotating frame numbers. The corresponding relationship set by different trackballs is different. The effect of the medium speed adjustment of some trackballs is close to the fast adjustment. If the user wants to quickly adjust from the 10th frame of the ultrasonic movie to the 35th frame, the medium speed rotating of the trackball will cause the frame number of the ultrasonic movie to be adjusted too fast, and the 80th frame may be directly reached, and it needs to be adjusted back again. The effect of the fast adjustment of some trackballs is close to the medium speed adjustment, which will cause the frame number of the ultrasonic movie to be adjusted too slowly. If the user wants to adjust from the 10th frame of the ultrasonic movie to the 500th frame, the trackball needs to be rotated multiple times to achieve the adjustment. Therefore, the playing of the ultrasonic movie cannot be effectively controlled. SUMMARY

[0004] The purpose of the present application is to provide an ultrasonic movie playing control method, device, equipment and storage medium to effectively control the playing of the ultrasonic movie.

[0005] To solve the above technical problems, the present application provides the following technical solutions:

[0006] An ultrasonic movie playing control method, comprising:

[0007] Obtaining the adjustment data of the user rotating the trackball of the ultrasonic movie under different rotating levels;

[0008] According to the adjustment data, determining the change interval of the trackball offset and the rotating frame number corresponding to each rotating level;

[0009] Based on the change interval corresponding to each rotating level, determining the offset critical point of each rotating level and the corresponding rotating frame number;

[0010] Fitting the offset critical point of each rotating level and the corresponding rotating frame number to obtain a data trend curve; the horizontal axis of the data trend curve is the trackball offset, and the vertical axis is the rotating frame number;

[0011] In the process of controlling the ultrasonic film playing, the data trend curve and the trackball offset generated by the dialing operation of the trackball are used to determine the dialing frame number corresponding to the dialing operation.

[0012] In an embodiment of the present application, the determination of the variation interval of the trackball offset and the dialing frame number corresponding to each dialing level based on the debugging data comprises:

[0013] For each dialing level, the variation interval of the trackball offset and the dialing frame number corresponding to the current dialing level is determined based on the debugging data obtained under the current dialing level.

[0014] The variation interval corresponding to the current dialing level comprises at least one of the following: the absolute value range of the maximum offset under the current dialing level, the duration range of dialing the trackball once, the expected value range of the dialing frame number of dialing the trackball once, and the number range of the absolute value of the offset of dialing the trackball once being within the absolute value range.

[0015] In an embodiment of the present application, the determination of the offset critical point and the corresponding dialing frame number of each dialing level based on the variation interval corresponding to each dialing level comprises:

[0016] For each dialing level, the offset critical point of the current dialing level is determined based on the absolute value range under the current dialing level.

[0017] The dialing frame number corresponding to the offset critical point of the current dialing level is determined based on the duration range, the expected value range, and the number range under the current dialing level.

[0018] In an embodiment of the present application, the fitting processing of the offset critical point and the dialing frame number corresponding to the offset critical point of each dialing level to obtain the data trend curve comprises:

[0019] The cubic function fitting processing of the offset critical point and the dialing frame number corresponding to the offset critical point of each dialing level is performed to obtain the data trend curve.

[0020] In an embodiment of the present application, after obtaining the data trend curve, the following steps are further included:

[0021] Adjustment information is obtained based on the adjustment operation of the user on the trackball offset and the corresponding dialing frame number of each dialing level, and the adjustment information comprises the trackball offset and the corresponding dialing frame number of each dialing level.

[0022] adjust the data trend curve based on the adjustment information, so as to determine the number of frames corresponding to a corresponding dialing operation based on the adjusted data trend curve and a trackball offset generated by a dialing operation on the trackball when performing cine control.

[0023] In an embodiment of the present application, for each dialing level, the debugging data at the current dialing level comprises: a duration of dialing the trackball once, a range of the trackball offset per unit time when dialing the trackball once, and an expected value of the number of frames when dialing the trackball once.

[0024] In an embodiment of the present application, the method further comprises:

[0025] When performing cine control, for a dialing operation on the trackball, if it is detected that an absolute value of a maximum trackball offset generated by a current dialing operation is greater than a set threshold, the number of frames corresponding to the current dialing operation is determined as a preset upper limit value.

[0026] An ultrasonic cine control device, comprising:

[0027] a debugging data obtaining module configured to obtain debugging data of an ultrasonic cine generated by a user dialing a trackball at different dialing levels;

[0028] a change interval determining module configured to determine a change interval of the trackball offset and the number of frames corresponding to each dialing level based on the debugging data;

[0029] a critical point determining module configured to determine an offset critical point and a corresponding number of frames of each dialing level based on the change interval corresponding to each dialing level;

[0030] a fitting module configured to perform fitting processing on the offset critical point and the corresponding number of frames of each dialing level to obtain a data trend curve; the horizontal axis of the data trend curve is the trackball offset, and the vertical axis is the number of frames;

[0031] a playing control module configured to determine the number of frames corresponding to a corresponding dialing operation based on the data trend curve and a trackball offset generated by a dialing operation on the trackball when performing cine control.

[0032] An ultrasonic cine control device, comprising:

[0033] a memory configured to store a computer program;

[0034] a processor configured to execute the computer program to implement the steps of the ultrasonic cine control method according to any one of the preceding embodiments.

[0035] A computer readable storage medium, the computer readable storage medium has a computer program stored thereon, the computer program is executed by a processor to implement the steps of the ultrasonic movie playing control method according to any one of the preceding embodiments.

[0036] By applying the technical solution provided in the embodiments of the present application, after obtaining the debugging data of the user on the ultrasonic movie trackball under different dialing levels, the change intervals of the trackball offset and the dialing frame number corresponding to each dialing level are determined according to the debugging data, and then the offset critical point of each dialing level and the corresponding dialing frame number are determined. The offset critical point of each dialing level and the corresponding dialing frame number are fitted to obtain a data trend curve. In this way, when the ultrasonic movie is played and controlled, based on the data trend curve and the trackball offset generated by the dialing operation on the trackball, the dialing frame number corresponding to the dialing operation on the trackball can be determined, so that the dialing operation on the trackball by the user can obtain appropriate dialing frame number changes that meet the user's expectations, and the situation of too fast or too slow frame number changes can be avoided. At the same time, the data trend curve obtained by fitting has good universality and generality, and can be applied to ultrasonic movie adjustment under various trackballs and frame numbers, so that the speed of different trackballs for adjusting different ultrasonic movie frame numbers can be effectively unified, and the playing of the ultrasonic movie can be effectively controlled. BRIEF DESCRIPTION OF DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0038] Figure 1 An implementation flowchart of an ultrasonic movie playing control method in the embodiments of the present application;

[0039] Figure 2 A data trend curve diagram in the embodiments of the present application;

[0040] Figure 3 A structure diagram of an ultrasonic movie playing control device in the embodiments of the present application;

[0041] Figure 4 A structure diagram of an ultrasonic movie playing control device in the embodiments of the present application; DETAILED DESCRIPTION

[0042] In order to make the person skilled in the art better understand the present application, the present application is further described in detail below in combination with the drawings and specific embodiments. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.

[0043] Referring to Figure 1 As shown in the figure, an implementation flowchart of an ultrasonic movie playing control method provided by an embodiment of the present application is taken as an example, and the method is applied to an ultrasonic device. The method can include the following steps:

[0044] S110: Obtain the adjustment data of the user on the trackball of the ultrasonic movie under different dialing levels.

[0045] In actual application, an ultrasonic movie playing scene is as follows: when the total frame number of the ultrasonic movie is large, the user quickly dials the trackball, adjusts the frame number of the ultrasonic movie by tens of frames or hundreds of frames, first locates the approximate range of the target frame, then dials the trackball at medium speed, plays the ultrasonic movie under the premise of ensuring that no picture information is missed, when approaching the target frame, the user dials the trackball at slow speed, adjusts the frame number of the ultrasonic movie frame by frame, and finally accurately locates the target frame.

[0046] The slow, medium and fast mentioned above are examples. In the embodiment of the present application, the speed is represented by dialing levels. Each dialing level can correspond to a dialing speed range. The higher the dialing level, the larger the dialing speed range included in the corresponding dialing speed range, that is, the faster the dialing speed.

[0047] Through data acquisition and other methods, the adjustment data of the user on the trackball of the ultrasonic movie under different dialing levels can be obtained. Specifically, the adjustment data of multiple users on the trackball of the ultrasonic movie under different dialing levels can be obtained, and the adjustment data of the same user on different trackballs of the ultrasonic movie under different dialing levels can also be obtained. The ultrasonic movie can be any ultrasonic movie.

[0048] For each dialing level, the adjustment data under the current dialing level can include: the duration of each dialing of the trackball under the current dialing level, the offset range in unit time of each dialing of the trackball, and the expected value of the dialing frame number of each dialing of the trackball. The current dialing level refers to the dialing level currently targeted.

[0049] The duration of each dialing of the trackball under the current dialing level refers to the duration of dialing the trackball once using the dialing speed under the current dialing level, for example, the duration is 0.4 seconds.

[0050] The range of the offset of the trackball per unit time in each dialing level is the range of the offset of the trackball per unit time in the current dialing level using the dialing speed in the current dialing level, for example, the unit time can be 100 milliseconds;

[0051] The expected value of the dialing frame number of the trackball per dialing in the current dialing level can be obtained through the interaction with the user. For example, if the dialing frame number does not meet the user's expectation when the user dials the trackball once using the dialing speed in the current dialing level, the user can feed back the adjustment information to adjust the dialing frame number to meet his own expectation. After adjusting the dialing frame number, the user can continue to dial the trackball once using the dialing speed, and if the adjusted dialing frame number meets the user's expectation, the user can feed back the confirmation information to determine the adjusted dialing frame number as the expected value of the dialing frame number of the trackball per dialing in the current dialing level. It can be seen that in any dialing level, the dialing frame number generated by dialing the trackball once can be adjusted based on the feedback of the user until the corresponding dialing frame number can meet the user's expectation. Therefore, for different users, the dialing frame number generated by dialing the trackball once in the same dialing level can be different or the same, so that the dialing effect can be customized according to the use habits of different users.

[0052] It should be noted that the offset is a physical quantity used to describe the moving direction and distance of the trackball. One offset can correspond to the size of one pixel, and in the process of adjusting the cine loop frame number, the cine loop frame number to be adjusted is mainly calculated according to the offset of the trackball.

[0053] S120: Determine the change interval of the trackball offset and the dialing frame number corresponding to each dialing level according to the debugging data.

[0054] After obtaining the debugging data of the user dialing the trackball of the cine loop in different dialing levels, the debugging data can be counted to obtain the change interval of the trackball offset and the dialing frame number corresponding to each dialing level.

[0055] Specifically, for each dialing level, the change interval of the trackball offset and the dialing frame number corresponding to the current dialing level can be determined according to the debugging data obtained in the current dialing level. That is, for each dialing level, the corresponding change interval is determined based on the debugging data obtained in each dialing level. The current dialing level is the dialing level currently targeted.

[0056] The change interval corresponding to the current dialing level can include at least one of the following: the absolute value range of the maximum offset in the current dialing level, the duration range of dialing the trackball once, the expected value range of the dialing frame number of the trackball per dialing, and the number range of the offset absolute value of the trackball per dialing in the absolute value range.

[0057] For example, the dialing levels include a first level, a second level and a third level, wherein the first level corresponds to a slow dialing speed, the second level corresponds to a medium dialing speed, and the third level corresponds to a fast dialing speed.

[0058] Through analysis of the debugging data corresponding to the second dialing level, it can be obtained that, under the second dialing level, the absolute value range of the maximum offset is 7-20, the duration range of dialing the trackball once is 0.4-0.5 seconds, the expected value range of the dialing frame number of dialing the trackball once is 30-60 frames, and the range of the number of times that the absolute value of the offset of dialing the trackball once is within the absolute value range of the maximum offset is 5-6 times.

[0059] Through analysis of the debugging data corresponding to the third dialing level, it can be obtained that, under the third dialing level, the absolute value range of the maximum offset is greater than 40, the duration range of dialing the trackball once is 0.6-0.7 seconds, the expected value range of the dialing frame number of dialing the trackball once is 100-300 frames, and the range of the number of times that the absolute value of the offset of dialing the trackball once is within the absolute value range of the maximum offset is 10-12 times.

[0060] Through the change intervals of the trackball offset and the dialing frame number corresponding to the second dialing level and the third dialing level, it can be preliminarily obtained that, if the absolute value of the maximum offset is less than 7 when dialing the trackball once, it can be considered that the dialing speed of this time is in the first dialing level, which belongs to slow speed; if the absolute value of the maximum offset is greater than 7 and less than 20, it can be considered that the dialing speed of this time is in the second dialing level; and if the absolute value of the maximum offset is greater than 40, it can be considered that the dialing speed of this time is in the third dialing level.

[0061] S130: determining the offset critical point of each dialing level and the dialing frame number corresponding to the offset critical point based on the change intervals corresponding to each dialing level.

[0062] After determining the change intervals of the trackball offset and the dialing frame number corresponding to each dialing level according to the debugging data of the user dialing the trackball of the ultrasonic movie under each dialing level, the offset critical point of each dialing level and the corresponding dialing frame number can be determined based on the change intervals corresponding to each dialing level.

[0063] Each dialing level corresponds to a respective offset critical point. For any dialing level, the offset critical point corresponding to the dialing level can be the starting point of the dialing level, or can be the adjacent point of the dialing level and the adjacent dialing level.

[0064] Specifically, for each dialing level, the offset critical point of the current dialing level can be determined according to the absolute value range of the maximum offset under the current dialing level. For example, if the absolute value range of the maximum offset under the current dialing level is 7-20, the offset critical point of the current dialing level can be determined as 7, or a smaller value in the range of 7-20, such as 10.

[0065] After the offset critical point of the current dialing level is determined, the dialing frame number corresponding to the offset critical point of the current dialing level can be further determined according to the duration range of the trajectory ball dialing once under the current dialing level, the expected value range of the dialing frame number of the trajectory ball dialing once, and the range of the number of times that the absolute value of the offset of the trajectory ball dialing once is within the absolute value range of the maximum offset.

[0066] In an embodiment of the present application, the offset critical point of the current dialing level can be the starting point of the current dialing level. The number of units of time contained in the minimum value in the duration range of the trajectory ball dialing once under the current dialing level can be determined first. The minimum value of the expected value range of the dialing frame number of the trajectory ball dialing once is divided by the number of units of time, and then divided by the minimum value of the range of the number of times that the absolute value of the offset of the trajectory ball dialing once is within the absolute value range of the maximum offset. The result obtained is rounded up, and the dialing frame number corresponding to the offset critical point of the current dialing level can be obtained.

[0067] Of course, if the offset critical point of the current dialing level is the adjacent point of the current dialing level and the next higher dialing level, the minimum values in the above example can be replaced by maximum values to obtain the dialing frame number corresponding to the offset critical point of the current dialing level.

[0068] For example, the determined offset critical points of each dialing level and the corresponding dialing frame numbers can be (7, 1), (10, 2), (20, 4), (40, 20), etc. The former number represents the offset critical point, and the latter number represents the corresponding dialing frame number.

[0069] S140: The offset critical points of each dialing level and the dialing frame numbers corresponding to the offset critical points are fitted to obtain a data trend curve.

[0070] S150: When playing the ultrasound movie, the dialing frame number corresponding to the corresponding dialing operation is determined based on the data trend curve and the trajectory ball offset generated by the dialing operation of the trajectory ball.

[0071] The horizontal axis of the data trend curve is the trajectory ball offset, and the vertical axis is the dialing frame number.

[0072] In the embodiments of the present application, after the offset critical point of each dialing level and the corresponding dialing frame number are determined, the offset critical point of each dialing level and the dialing frame number corresponding to the offset critical point can be further fitted to obtain a data trend curve.

[0073] Specifically, the offset critical point of each dialing level and the dialing frame number corresponding to the offset critical point can be fitted by a function to obtain a data trend curve. The horizontal axis of the data trend curve is the trackball offset, and the vertical axis is the dialing frame number.

[0074] The function fitting can be a cubic function fitting. The cubic function can be specifically:

[0075] y=p1*x 3 +p2*x 2 +p3*x+p4

[0076] Wherein, x represents the trackball offset, y represents the dialing frame number, and p1, p2, p3, and p4 are variable coefficients.

[0077] The finally obtained data trend curve can be as shown in Figure 2 The corresponding cubic function is:

[0078] y=0.002*x 3 -0.077*x 2 +1.065*x-2.173.

[0079] After obtaining the data trend curve, when playing the cine loop, the trackball offset generated by each dialing operation of the trackball can be determined based on the data trend curve and the trackball offset generated by each dialing operation of the trackball, and the dialing frame number corresponding to each dialing operation of the trackball can be determined. The cine loop frame is adjusted based on the dialing frame number to control the playing of the cine loop.

[0080] Of course, if other functions can achieve the same or better fitting effect as the cubic function, other functions can also be used to fit the offset critical point of each dialing level and the corresponding dialing frame number.

[0081] After the method provided in the embodiments of the present application is applied, the adjustment data of the ultrasonic movie under different dialing levels is obtained by the user dialing the trackball, and according to the adjustment data, the change interval of the trackball offset and the dialing frame number corresponding to each dialing level is determined, and then the offset critical point of each dialing level and the corresponding dialing frame number are determined. The offset critical point of each dialing level and the corresponding dialing frame number are fitted to obtain a data trend curve. In this way, when the ultrasonic movie is played and controlled, based on the data trend curve and the trackball offset generated by the dialing operation of the trackball, the dialing frame number corresponding to the dialing operation of the trackball can be determined, so that the dialing operation of the trackball by the user can obtain appropriate dialing frame number changes that meet the user's expectations, and the situation that the frame number changes too fast or too slow can be avoided. At the same time, the data trend curve obtained by fitting has good universality and generality, and can be applied to the ultrasonic movie adjustment under various trackballs and frame numbers, so that the speed of the trackball for adjusting different ultrasonic movie frame numbers can be effectively unified, and the ultrasonic movie can be effectively controlled.

[0082] In an embodiment of the present application, after the data trend curve is obtained, the method can further include the following steps:

[0083] Step one: obtaining adjustment information according to the adjustment operation of the user on the trackball offset and the corresponding dialing frame number of each dialing level, the adjustment information including the trackball offset and the corresponding dialing frame number of each dialing level;

[0084] Step two: based on the adjustment information, adjusting the data trend curve, so that when the ultrasonic movie is played and controlled, based on the adjusted data trend curve and the trackball offset generated by the dialing operation of the trackball, the dialing frame number corresponding to the dialing operation of the trackball is determined.

[0085] For the convenience of description, the above two steps are combined for description.

[0086] In the embodiments of the present application, after the offset critical point of each dialing level and the corresponding dialing frame number are fitted to obtain the data trend curve, the data trend curve can be fed back to the user. The user can adjust the trackball offset and the corresponding dialing frame number of each dialing level according to his own habits, and return the adjustment information, which includes the trackball offset and the corresponding dialing frame number of each dialing level.

[0087] After obtaining the adjustment information, the data trend curve can be adjusted based on the adjustment information, so that the adjusted data trend curve is more in line with the user's feeling. After adjusting the data trend curve, when performing the control of the ultrasound movie playback, the number of frames corresponding to the dialing operation of the trackball can be determined based on the adjusted data trend curve and the trackball offset generated by the dialing operation of the trackball. In this way, the playback of the ultrasound movie can be more effective and more in line with the user's needs.

[0088] In an embodiment of the present application, the method can further include the following steps:

[0089] When performing the control of the ultrasound movie playback, for the dialing operation of the trackball, if it is detected that the absolute value of the maximum trackball offset generated by the current dialing operation is greater than a set threshold, the number of frames corresponding to the current dialing operation can be determined as a preset upper limit value. The set threshold and the preset upper limit value can be set based on the data input by the user through the input device.

[0090] In the embodiment of the present application, the upper limit value of the number of frames can be set, and when performing the control of the ultrasound movie playback, for the dialing operation of the trackball, the absolute value of the maximum trackball offset generated by the current dialing operation can be detected, and if it is detected that the value is greater than a set threshold, the number of frames corresponding to the current dialing operation can be determined as a preset upper limit value. In this way, the phenomenon that the number of frames changes too fast and is uncontrollable when the number of frames of the ultrasound movie is quickly adjusted can be effectively prevented.

[0091] In the embodiment of the present application, the offset critical point of each dialing level and the corresponding change frame of the ultrasound movie are fitted to obtain a data trend curve, and the control of the ultrasound movie playback is performed based on the data trend curve. When the trackball is dialled once in the medium-speed adjustment range, the number of frames changes relatively slowly, for example, is concentrated in tens of frames, ensuring the continuity of the picture in the adjustment process. In the fast adjustment range, the number of frames changes relatively steeply, for example, can reach hundreds of frames, achieving the fast adjustment of the number of frames of the ultrasound movie.

[0092] When the ultrasound equipment freezes or plays back the ultrasound movie, the doctor will adjust the current number of frames of the movie by dialing the trackball until reaching a certain frame that the doctor wants, and then freeze the ultrasound movie from the frame or start playing back the ultrasound movie from the frame. The main factor affecting the speed of adjusting the number of frames of the movie is the offset of the trackball in a unit of time. When the doctor manually dials the trackball, the number of frames adjusted by different trackball offsets is different.

[0093] In order to enable the doctor to quickly locate to the frame he wants, the embodiment carries out function fitting on the historical use data of the doctor dialing the trackball, and controls the dialing speed and the dialing frame number according to the fitting result, which not only conforms to the use habit of the doctor, but also can realize quick and accurate positioning. Specifically, the ultrasound equipment executes the following steps:

[0094] 1. Historical use data collection.

[0095] The ultrasound equipment is provided with different grades of dialing speed in advance, so that the use habit of the doctor is collected in grades. For example, the data of the doctor dialing the trackball quickly, the data of the doctor dialing the trackball at medium speed, and the data of the doctor dialing the trackball slowly are collected.

[0096] The collected data mainly includes: the duration of dialing the trackball once; the offset range in unit time of dialing the trackball once; the expected value of the movie frame number change (i.e. the dialing frame number) of dialing the trackball once, etc.

[0097] 2. Analysis and statistics of the collected data.

[0098] Through repeated analysis of the operation of the doctor dialing the trackball and the movie frame number change he hopes to achieve, the statistical value under any dialing grade can be obtained.

[0099] For example, under the medium-speed dialing grade, the doctor dials the trackball once, the duration is 0.4-0.5 seconds, the expected value of the movie frame number change is 30-60 frames, the absolute value of the maximum offset is concentrated in 7-20, and the number of times in the offset collected in this dialing of the trackball is about 5-6 times in the maximum offset range.

[0100] For another example, under the high-speed dialing grade, the doctor dials the trackball once, the duration is 0.6-0.7 seconds, the expected value of the movie frame number change is 100-300 frames, the absolute value of the maximum offset is above 40, and the number of times in the offset collected in this dialing of the trackball is about 10-12 times in the maximum offset range.

[0101] Accordingly, the analysis and statistics result can be obtained preliminarily: when the absolute value of the offset is less than 7, the dialing speed belongs to slow speed; when the absolute value of the offset is greater than 7 and less than 20, the dialing speed belongs to medium speed; and when the absolute value of the offset is greater than 40, the dialing speed belongs to fast speed. Among them, 7, 20 and 40 are the offset critical points, and the expected value of the movie frame number change corresponding to 7, 20 and 40 respectively is the corresponding dialing frame number.

[0102] 3. Fitting the above analysis and statistics result.

[0103] By collating and fitting the above analysis and statistical results, it is found that the characteristics of the cubic function are in line with the above data trends, so the cubic function is used to fit the above analysis and statistical results, and the fitting curve is obtained. The cubic function is y = p1*x 3 + p2*x 2 + p3*x + p4.

[0104] According to the characteristics of the cubic function, the parameters p1, p2, p3, and p4 are optimized to make the fitting effect more in line with the above analysis and statistical results.

[0105] The optimization process includes selecting the following four critical points to describe the trend characteristics of the curve:

[0106] The offset 7 is a slow critical point, corresponding to 1 frame of slow movement, denoted as (7, 1);

[0107] The offset 10 is a medium starting point, corresponding to 2 frames of movement, denoted as (10, 2);

[0108] The offset 20 is a fast starting point, corresponding to 4 frames of movement, denoted as (20, 4);

[0109] The offset 40 is a super-fast starting point, corresponding to 20 frames of movement, denoted as (40, 20); super-fast means that the user wants to adjust hundreds of frames at a time.

[0110] Based on the above four coordinates, the curve is fitted.

[0111] Then, according to the doctor's adjustment operation of the absolute value of the offset and the corresponding frame number, the critical points and the corresponding frame numbers are adjusted until the fitting curve meets the doctor's dialing habits. At this time, the Figure 2 curve and the corresponding function are obtained.

[0112] 4. Set the upper limit of frame number change.

[0113] Under normal circumstances, the faster the trackball is dialed, the larger the frame number adjustment. In order to prevent the frame number from changing too fast and being uncontrollable during fast adjustment, the upper limit of frame number change can be manually set. For example: detect the doctor's dialing trackball operation, if the frame number of this dialing is greater than the set threshold, then the dialing frame number corresponding to the current dialing operation is determined as the upper limit of frame number change, so as to avoid uncontrollable frame number change during adjustment.

[0114] 5. Ultrasound movie playback control.

[0115] In the scene of freezing or playing back the ultrasonic movie by the ultrasonic device, when receiving the doctor's dialing operation on the trackball, the dialing frame number corresponding to the current dialing operation is determined based on the fitting curve. It is determined whether the dialing frame number corresponding to the current dialing operation is greater than the set threshold. If it is greater than the set threshold, the pre-set upper limit of the frame number change is replaced by the dialing frame number corresponding to the current dialing operation. If it is less than the set threshold, no replacement of the dialing frame number is performed. The switching of the image frames of the ultrasonic movie is performed based on the dialing frame number corresponding to the current dialing operation, the play control is realized, and the freezing or playing back of the ultrasonic movie is realized from the target frame.

[0116] It can be seen that the embodiment can customize the corresponding dialing speed and dialing effect for the doctor's habit of dialing the ultrasonic movie, not only realizes the controllable and adjustable dialing frame number, but also makes the dialing actual effect meet the doctor's expectation and use habit, which is beneficial to the doctor's dialing positioning target frame. Of course, in the subsequent use process, the dialing frame number can also be adjusted repeatedly according to the embodiment.

[0117] Corresponding to the above method embodiment, the embodiment of the application also provides an ultrasonic movie play control device. The ultrasonic movie play control device described below can be correspondingly referred to the ultrasonic movie play control method described above.

[0118] Referring to Figure 3 As shown in the figure, the device can include the following modules:

[0119] The debugging data obtaining module 310 is configured to obtain the debugging data of the user dialing the trackball of the ultrasonic movie under different dialing levels.

[0120] The change interval determining module 320 is configured to determine the change interval of the trackball offset and the dialing frame number corresponding to each dialing level according to the debugging data.

[0121] The critical point determining module 330 is configured to determine the offset critical point and the corresponding dialing frame number of each dialing level based on the change interval corresponding to each dialing level.

[0122] The fitting module 340 is configured to perform fitting processing on the offset critical point and the corresponding dialing frame number of each dialing level to obtain a data trend curve. The horizontal axis of the data trend curve is the trackball offset, and the vertical axis is the dialing frame number.

[0123] The play control module 350 is configured to determine the dialing frame number corresponding to the corresponding dialing operation based on the data trend curve and the trackball offset generated by the dialing operation on the trackball when performing the ultrasonic movie play control.

[0124] The apparatus provided in the embodiments of the present application is used to obtain the adjustment data of the ultrasonic movie under different dialing levels after the user dials the trackball, to determine the change interval of the trackball offset and the dialing frame number corresponding to each dialing level according to the adjustment data, to further determine the offset critical point of each dialing level and the corresponding dialing frame number, to perform fitting processing on the offset critical point of each dialing level and the corresponding dialing frame number, and to obtain the data trend curve. In this way, during the control of the ultrasonic movie playing, the dialing frame number corresponding to the dialing operation on the trackball can be determined based on the data trend curve and the trackball offset generated by the dialing operation on the trackball, so that the dialing operation on the trackball by the user can obtain appropriate dialing frame number changes that meet the user's expectation, and the situation that the frame number changes too fast or too slow can be avoided. Meanwhile, the data trend curve obtained by fitting has good universality and generality, and can be applied to the adjustment of the ultrasonic movie under various trackballs and frame numbers, so that the speed of the trackball for adjusting different ultrasonic movie frame numbers can be effectively unified, and the playing of the ultrasonic movie can be effectively controlled.

[0125] In an embodiment of the present application, the change interval determination module 320 is configured to:

[0126] For each dialing level, the change interval of the trackball offset and the dialing frame number corresponding to the current dialing level is determined according to the adjustment data obtained under the current dialing level.

[0127] The change interval corresponding to the current dialing level includes at least one of the following: the absolute value range of the maximum offset under the current dialing level, the duration range of dialing the trackball once, the expected value range of the dialing frame number of dialing the trackball once, and the number range of the offset absolute value of dialing the trackball once being in the absolute value range.

[0128] In an embodiment of the present application, the critical point determination module 330 is configured to:

[0129] For each dialing level, the offset critical point of the current dialing level is determined according to the absolute value range under the current dialing level.

[0130] The dialing frame number corresponding to the offset critical point of the current dialing level is determined according to the duration range, the expected value range, and the number range under the current dialing level.

[0131] In an embodiment of the present application, the playing control module 340 is configured to:

[0132] The offset critical point of each dialing level and the dialing frame number corresponding to the offset critical point are subjected to cubic function fitting processing to obtain the data trend curve.

[0133] In an embodiment of the present application, the method further comprises a curve adjustment module, configured to:

[0134] After obtaining the data trend curve, adjustment information is obtained according to the adjustment operation of the user on the trackball offset of each dialing level and the corresponding dialing frame number, and the adjustment information comprises the trackball offset of each dialing level and the corresponding dialing frame number.

[0135] Based on the adjustment information, the data trend curve is adjusted, so that when the ultrasonic movie playback control is performed, the dialing frame number corresponding to the dialing operation of the trackball is determined based on the adjusted data trend curve and the trackball offset generated by the dialing operation of the trackball.

[0136] In an embodiment of the present application, for each dialing level, the debugging data under the current dialing level comprises: the duration of dialing the trackball once, the offset range per unit time of dialing the trackball once, and the expected value of the dialing frame number of dialing the trackball once under the current dialing level.

[0137] In an embodiment of the present application, the playback control module 340 is further configured to:

[0138] When the ultrasonic movie playback control is performed, for the dialing operation of the trackball, if it is detected that the absolute value of the maximum trackball offset generated by the current dialing operation is greater than a set threshold, the dialing frame number corresponding to the current dialing operation is determined as a preset upper limit value.

[0139] Corresponding to the above method embodiment, the present application also provides an ultrasonic movie playback control device, comprising:

[0140] a memory configured to store a computer program;

[0141] a processor configured to execute the computer program to implement the steps of the above ultrasonic movie playback control method.

[0142] As shown in Figure 4 FIG. 1 is a schematic diagram of the composition structure of the ultrasonic movie playback control device, which can comprise a processor 10, a memory 11, a communication interface 12 and a communication bus 13. The processor 10, the memory 11 and the communication interface 12 can communicate with each other through the communication bus 13.

[0143] In an embodiment of the present application, the processor 10 can be a central processing unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array or other programmable logic device, etc.

[0144] The processor 10 can invoke a program stored in the memory 11, and specifically, the processor 10 can perform operations in the embodiment of the ultrasonic movie playing control method.

[0145] The memory 11 stores one or more programs, which can include program codes including computer operation instructions. In the embodiment, the memory 11 at least stores programs for implementing the following functions:

[0146] Obtaining user adjustment data of the ultrasonic movie dialing trackball at different dialing levels;

[0147] According to the adjustment data, determining the change interval of the trackball offset and the dialing frame number corresponding to each dialing level;

[0148] Based on the change interval corresponding to each dialing level, determining the offset critical point of each dialing level and the corresponding dialing frame number;

[0149] Fitting the offset critical point of each dialing level and the corresponding dialing frame number to obtain a data trend curve. When performing ultrasonic movie playing control, the data trend curve and the trackball offset generated by the dialing operation of the trackball are used to determine the dialing frame number corresponding to the dialing operation of the trackball. The horizontal axis of the data trend curve is the trackball offset, and the vertical axis is the dialing frame number.

[0150] In a possible implementation, the memory 11 can include a program storage area and a data storage area. The program storage area can store an operating system and application programs required by at least one function (such as a data acquisition function and a data statistical function). The data storage area can store data created during use, such as offset data and change frame number data.

[0151] In addition, the memory 11 can include a high-speed random access memory and can also include a non-volatile memory, for example, at least one magnetic disk storage device or other volatile solid-state storage device.

[0152] The communication interface 12 can be an interface of a communication module, used for connecting with other devices or systems.

[0153] Of course, it should be noted that, Figure 4 The structures shown do not constitute a limitation on the ultrasonic movie playing control device in the embodiments of the present application. In actual applications, the ultrasonic movie playing control device can include more or fewer components than Figure 4 those shown, or some components can be combined.

[0154] Corresponding to the above method embodiments, the embodiments of the present application also provide a computer readable storage medium, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the steps of the above ultrasonic film playing control method.

[0155] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0156] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed in the present text can be realized in electronic hardware, computer software or a combination of both. In order to clearly show the interchangeability of hardware and software, the components and steps of each example have been described in the above description. Whether the functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0157] The steps of the method or algorithm described in combination with the embodiments disclosed in the present text can be directly implemented by hardware, software modules executed by a processor, or a combination of both. The software modules can be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0158] The principles and implementation modes of the present application are described by using specific examples in the present text. The above description of the embodiments is only to help understand the technical solutions and core ideas of the present application. It should be noted that for those skilled in the art, without departing from the principles of the present application, some improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

Claims

1. An ultrasonic cineplay control method characterized by comprising: The method comprises the following steps: obtaining the adjustment data of the user on the ultrasonic film dials the trackball under different dialing levels; determining the change interval of the trackball offset and the dialing frame number corresponding to each dialing level according to the adjustment data; determining the offset critical point of each dialing level and the dialing frame number corresponding to the offset critical point based on the change interval corresponding to each dialing level; fitting the offset critical point of each dialing level and the dialing frame number corresponding to the offset critical point to obtain a data trend curve; the horizontal axis of the data trend curve is the trackball offset, and the vertical axis is the dialing frame number; when playing the ultrasonic film, determining the dialing frame number corresponding to the corresponding dialing operation based on the data trend curve and the trackball offset generated by the dialing operation on the trackball.

2. The ultrasonic cineplay control method according to claim 1, characterized by, The method comprises the following steps: for each dialing level, determining the change interval of the trackball offset and the dialing frame number corresponding to the current dialing level according to the adjustment data obtained under the current dialing level; The change interval corresponding to the current dialing level comprises at least one of the following: the absolute value range of the maximum offset under the current dialing level, the duration range of dialing the trackball once, the expected value range of the dialing frame number of dialing the trackball once, and the number range of the offset absolute value of dialing the trackball once within the absolute value range.

3. The ultrasonic cineplay control method according to claim 2, characterized by, The method comprises the following steps: for each dialing level, determining the offset critical point of the current dialing level according to the absolute value range under the current dialing level; determining the dialing frame number corresponding to the offset critical point of the current dialing level according to the duration range, the expected value range, and the number range under the current dialing level.

4. The ultrasonic cineplay control method according to claim 1, characterized by, The method comprises the following steps: for each dialing level, determining the offset critical point of the current dialing level according to the absolute value range under the current dialing level; 5. The ultrasonic cineplay control method according to claim 1, wherein, determining the dialing frame number corresponding to the offset critical point of the current dialing level according to the duration range, the expected value range, and the number range under the current dialing level. The method comprises the following steps: fitting the offset critical point of each dialing level and the dialing frame number corresponding to the offset critical point to obtain a data trend curve.

6. The ultrasonic cineplay control method according to claim 1, wherein, After obtaining the data trend curve, the method further comprises the following steps:

7. The ultrasonic cineplay control method according to any one of claims 1 to 6, characterized by, obtaining adjustment information according to the adjustment operation of the user on the trackball offset and the corresponding dialing frame number of each dialing level; the adjustment information comprises the trackball offset and the corresponding dialing frame number of each dialing level; adjusting the data trend curve based on the adjustment information, so that when playing the ultrasonic film, the dialing frame number corresponding to the corresponding dialing operation is determined based on the adjusted data trend curve and the trackball offset generated by the dialing operation on the trackball. For each dialing level, the adjustment data under the current dialing level comprises the duration of dialing the trackball once, the offset range in unit time of dialing the trackball once, and the expected value of the dialing frame number of dialing the trackball once under the current dialing level. The method further comprises the following steps: When performing the ultrasonic movie playback control, for the trackball dialing operation, if it is detected that an absolute value of a maximum trackball offset generated by a current dialing operation is greater than a set threshold, a dialing frame number corresponding to the current dialing operation is determined as a preset upper limit value.

8. An ultrasonic cineplay control device characterized by comprising: The method comprises the following steps: an adjustment data obtaining module is configured to obtain adjustment data of a user dialing a trackball of an ultrasonic movie under different dialing levels; a change interval determining module is configured to determine a change interval of a trackball offset and a dialing frame number corresponding to each dialing level according to the adjustment data; a critical point determining module is configured to determine an offset critical point of each dialing level and a corresponding dialing frame number based on the change interval corresponding to each dialing level; a fitting module is configured to perform fitting processing on the offset critical point of each dialing level and the corresponding dialing frame number to obtain a data trend curve; the horizontal axis of the data trend curve is a trackball offset, and the vertical axis is a dialing frame number; a playback control module is configured to, when performing the ultrasonic movie playback control, determine a dialing frame number corresponding to a corresponding dialing operation based on the data trend curve and a trackball offset generated by the dialing operation of the trackball.

9. An ultrasonic cineplay control apparatus characterized by comprising: The method comprises the following steps: a memory is configured to store a computer program; a processor is configured to implement the steps of the ultrasonic movie playback control method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that, The computer program is stored on the computer readable storage medium, and the computer program is executed by the processor to implement the steps of the ultrasonic movie playback control method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Playback speed control apparatus and playback speed control method

    CN102308335A

  • Medical image previewing method and device, electronic equipment and storage medium

    CN112752138A