Ultrasonic equipment, and method and device for judging the use status of ultrasonic equipment

By analyzing the image changes of ultrasonic equipment, the equipment usage status is judged and adjusted to standby mode, the problem of ultrasonic equipment being in a working state when it is unmanned for a long time is solved, and the equipment burden is reduced and maintenance costs are reduced.

CN115251980BActive Publication Date: 2025-04-04VINNO TECH (SUZHOU) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210758945.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-29
Publication Date
2025-04-04
Estimated Expiration
2042-06-29

AI Technical Summary

Technical Problem

Ultrasonic equipment may be in operation for a long time when unmanned is operated, resulting in excessive burden on the equipment and affecting maintenance and diagnostic results.

Method used

By analyzing the image changes generated by the ultrasonic device, the mutual correlation coefficient, the difference statistic and the edge coefficient of the image are calculated, the usage status of the device is judged, and the device is adjusted to standby mode in the non-operating state.

Benefits of technology

Effectively distinguish between the working and non-working states of ultrasonic equipment, reduce equipment burden, reduce maintenance costs, extend equipment service life, and improve the accuracy of testing results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115251980B_ABST
    Figure CN115251980B_ABST
Patent Text Reader

Abstract

The present invention discloses an ultrasonic device, and a method and device for judging the use status of the ultrasonic device. The method comprises the following steps: acquiring a current image; calculating a correlation coefficient between the current image and a previous image; performing difference calculation on the current image and the previous image to generate a difference image, and calculating a difference statistic of the difference image; performing edge calculation on the current image to generate an edge coefficient; calculating respective statistics of the multiple correlation coefficients, difference statistics and edge coefficients generated in sequence, and judging the use status of the ultrasonic device; and then adjusting the device to a standby mode when the ultrasonic device is in a non-working state, thereby reducing the burden on the ultrasonic machine, reducing maintenance costs, being more conducive to equipment maintenance and extending service life, while creating economic benefits for the hospital, and further improving the accuracy of ultrasonic device detection results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of ultrasonic imaging detection, and in particular to an ultrasonic device, and a method and device for judging the use status of the ultrasonic device. Background Art

[0002] Ultrasonic equipment used in medical ultrasound imaging will have certain errors after long-term use, which will affect the diagnosis results and cause adverse consequences such as medical accidents. Therefore, it is necessary to ensure that they are always in a healthy operating state. For this reason, medical units need to pay attention to the maintenance of ultrasound equipment. Preventive maintenance can prevent problems before they occur and ensure stability and safety. At present, the main maintenance is the maintenance of the hardware itself.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0004] In actual work, the ultrasound equipment may be unattended at certain times. For example, after the doctor has finished the test, he puts the ultrasound probe aside and fails to turn off the equipment in time. At this time, the screen interface is still displayed, and the ultrasound machine, probe, etc. are still in working condition. In addition, there are many cases where the equipment is still in working condition without actual work needs. The equipment is running at full load for a long time, which is not conducive to equipment maintenance. The existing maintenance and maintenance of ultrasound equipment has not yet realized this problem. Summary of the invention

[0005] In order to solve the above-mentioned prior art problems of the care and maintenance of ultrasonic equipment, the object of the present invention is to provide an ultrasonic equipment, and a method and device for determining the use status of the ultrasonic equipment.

[0006] To achieve the above-mentioned purpose, an embodiment of the present invention provides a method for determining the use status of an ultrasonic device, comprising the following steps:

[0007] Get the current image;

[0008] Calculating a correlation coefficient between the current image and the previous image;

[0009] Performing difference calculation on the current image and the previous image to generate a difference image, and calculating a difference statistic of the difference image;

[0010] Performing edge calculation on the current image to generate edge coefficients;

[0011] Taking the current image as the previous image, and continuing to obtain the next image as the new current image;

[0012] For the multiple cross-correlation coefficients, difference statistics and edge coefficients sequentially generated from the multiple images, respectively calculate a first statistic of the multiple cross-correlation coefficients, a second statistic of the multiple difference statistics, and a third statistic of the multiple edge coefficients;

[0013] The usage status of the ultrasound device is determined according to the first statistic, the second statistic, and the third statistic.

[0014] As a further improvement of the present invention, the step of calculating the mutual correlation coefficient between the current image and the previous image includes:

[0015] Calculating a first standard deviation of the current image, a second standard deviation of the previous image, and a covariance of the current image and the previous image;

[0016] The cross-correlation coefficient is calculated based on the first standard deviation, the second standard deviation, and the covariance.

[0017] As a further improvement of the present invention, the step of performing difference calculation on the current image and the previous image to generate a difference image includes:

[0018] Subtract pixels of the current image from those of the previous image one by one, calculate the maximum and minimum values ​​of the differences obtained, and calculate linear transformation parameters;

[0019] If the difference between the pixels of the current image and the previous image is zero, the grayscale value of the corresponding position of the difference image is zero;

[0020] If the difference between the pixels of the current image and the previous image is not zero, the grayscale value of the corresponding position of the difference image is the product of the difference between the difference and the minimum value and the linear transformation parameter.

[0021] As a further improvement of the present invention, the step of calculating the difference statistic of the difference image includes:

[0022] The standard deviation or variance of the difference image is calculated.

[0023] As a further improvement of the present invention, the edge coefficient includes an edge ratio;

[0024] The step of performing edge calculation on the current image to generate edge coefficients includes:

[0025] Detecting edge information of the current image and generating an edge binary image;

[0026] The ratio of the number of non-zero values ​​in the edge binary image to the edge in the edge binary image is counted.

[0027] As a further improvement of the present invention, the steps of respectively calculating a first statistic of a plurality of cross-correlation coefficients, a second statistic of a plurality of difference statistics, and a third statistic of a plurality of edge coefficients include:

[0028] The first variances of the plurality of cross-correlation coefficients, the second variances of the plurality of difference statistics, and the third variances of the plurality of marginal coefficients are calculated respectively.

[0029] As a further improvement of the present invention, the step of judging the use status of the ultrasound device according to the first statistic, the second statistic and the third statistic includes:

[0030] Comparing the first variance with a first preset value, comparing the second variance with a second preset value, and comparing the third variance with a third preset value;

[0031] When any of the first variance, the second variance and the third variance is less than the corresponding preset value, the ultrasonic device is in a non-working state;

[0032] Otherwise, the ultrasonic device is in working state.

[0033] As a further improvement of the present invention, when the ultrasonic device is in a non-working state, the ultrasonic device enters a standby mode.

[0034] As a further improvement of the present invention, the step of taking the current image as the previous image and continuing to obtain the next image as the new current image further includes:

[0035] Determine whether the number of images reaches a preset value;

[0036] If yes, for the plurality of cross-correlation coefficients, difference statistics and edge coefficients sequentially generated for the plurality of images, respectively calculate a first statistic of the plurality of cross-correlation coefficients, a second statistic of the plurality of difference statistics, and a third statistic of the plurality of edge coefficients;

[0037] If not, the current image is used as the previous image, and the next image is obtained as the new current image.

[0038] As a further improvement of the present invention, the step of obtaining the current image further includes:

[0039] Get the current image;

[0040] Compare the parameters of the current image and the previous image to see if they are the same. If not, restart the determination method.

[0041] To achieve one of the above-mentioned purposes of the invention, an embodiment of the present invention provides a device for determining the use status of an ultrasonic device, comprising:

[0042] An acquisition module is used to acquire the current image;

[0043] A cross-correlation calculation module, used to calculate the cross-correlation coefficient between the current image and the previous image;

[0044] A linear transformation module, used for performing difference calculation between the current image and the previous image to generate a difference image, and calculating a difference statistic of the difference image;

[0045] An edge computing module, used to perform edge computing on the current image to generate edge coefficients;

[0046] A replacement module, taking the current image as the previous image, and continuing to obtain the next image as a new current image;

[0047] A statistical module, for calculating first statistics of the plurality of cross-correlation coefficients, second statistics of the plurality of difference statistics, and third statistics of the plurality of edge coefficients for the plurality of cross-correlation coefficients, difference statistics, and edge coefficients sequentially generated from the plurality of images;

[0048] A judgment module is used to judge the use status of the ultrasound device according to the first statistic, the second statistic and the third statistic.

[0049] To achieve one of the above-mentioned purposes of the invention, an embodiment of the present invention provides an ultrasonic device, comprising:

[0050] A probe, used to emit ultrasonic waves and receive reflected waves;

[0051] An ultrasound machine, connected to the probe and generating a current image according to the reflected wave;

[0052] A storage module storing a computer program;

[0053] The processing module can implement the steps in the above-mentioned method for determining the use status of the ultrasonic device when executing the computer program.

[0054] To achieve one of the above-mentioned purposes of the invention, an embodiment of the present invention provides a readable storage medium storing a computer program, which can implement the steps in the above-mentioned method for determining the use status of an ultrasonic device when executed by a processing module.

[0055] Compared with the prior art, the present invention has the following beneficial effects: the method for determining the use status of the ultrasound device can distinguish whether the ultrasound device is in a working state or a non-working state according to changes in the image, and then when the ultrasound device is in a non-working state, the device can be adjusted to standby mode, thereby reducing the burden on the ultrasound machine, reducing maintenance costs, and being more conducive to equipment maintenance and extending service life, while creating economic benefits for the hospital, and further improving the accuracy of the ultrasound device detection results. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 is a flow chart of a method for determining the use status of an ultrasonic device according to an embodiment of the present invention;

[0057] Figure 2 It is a module schematic diagram of a device for determining the use status of an ultrasonic device according to an embodiment of the present invention;

[0058] Figure 3 is a structural block diagram of an ultrasonic device according to an embodiment of the present invention;

[0059] Among them, 100, ultrasound equipment; 10, ultrasound machine; 20, probe; 30, display module; 40, processing module; 50, storage module; 60, communication bus. DETAILED DESCRIPTION

[0060] The present invention will be described in detail below in conjunction with the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by a person skilled in the art based on these embodiments are all within the scope of protection of the present invention.

[0061] An embodiment of the present invention provides an ultrasonic device, and a method and a device for determining the use status of the ultrasonic device.

[0062] The ultrasound device 100 includes a probe 20 and an ultrasound machine 10. The probe 20 is used to emit ultrasonic waves and receive reflected waves. The ultrasound machine 10 is connected to the probe 20 and generates a current image based on the reflected waves. In addition, the ultrasound device 100 may also include a display module 30 to present the image generated by the ultrasound machine 10 and operating parameters on the display module 30.

[0063] As described in the background technology, the inventors found that the ultrasound device 100 is also in working state when no one is operating, and the device is in full load operation for a long time. This embodiment determines the usage status of the ultrasound device 100 through the changes in the current image generated by the ultrasound machine 10.

[0064] When the ultrasound device 100 is working, as the doctor's handheld probe 20 slides on the patient's body and the doctor's hand shakes, the image obtained is constantly changing. When the probe 20 is not detecting the human body and is placed aside, the image detected at this time will also shake, that is, when detecting the human body or not detecting the human body, the image obtained is in a constantly changing state, and the image content obtained at different times will not be completely consistent. However, the change of the image when the probe 20 is not detecting the human body is different from the change of the image when the doctor holds the probe 20 to detect the human body.

[0065] Combine the following Figure 1 , describing a method for determining the use status of an ultrasonic device provided by an embodiment of the present invention, although the present application provides the method operation steps as shown in the following implementation or flowchart, based on routine or no creative labor, the execution order of the steps in the method that do not have a necessary causal relationship in logic is not limited to the execution order provided in the implementation of the present application. For example, the acquisition order of the following steps S30, S40 and S50 can be adjusted arbitrarily or performed simultaneously, without distinguishing the order in time sequence.

[0066] Specifically, the method for determining the use status of an ultrasonic device includes the following steps:

[0067] Step S10: Acquire the current image;

[0068] The current image may be any image during the operation of the judgment method. The current image is an image generated by calculation on the ultrasound machine based on the probe sending ultrasonic waves and receiving reflected waves.

[0069] After acquiring the current image, information of the current image may be stored.

[0070] Step S20: Compare the parameters of the current image and the previous image to see if they are the same. If not, restart the determination method.

[0071] The compared parameters include the width, height, and number of channels of the image. When any parameter changes, the operating state of the device changes. At this time, the judgment method is restarted, that is, the first image of the judgment method is re-acquired.

[0072] After step S20, the following steps may be continued:

[0073] Performing grayscale conversion on the current image to make it a single-channel grayscale image and scaling it, and then processing the scaled grayscale image can reduce the amount of calculation.

[0074] Step S30: Calculate the correlation coefficient between the current image and the previous image.

[0075] The previous image refers to an image that is adjacent to the current image and was obtained last time. Here, it particularly refers to an image that has the same parameters as the current image, such as the same width, height, and number of channels.

[0076] If the current image is the first image acquired when the judgment method is executed, steps S30 and S40 can be skipped, and only step S50 is executed. After the information of the first image and the result of step S50 are stored, the process returns to step S10, and the second image is acquired as the current image. The correlation coefficient can then be calculated together with the first image.

[0077] Specifically, the method for calculating the mutual correlation coefficient may include the following steps:

[0078] Step S31: Calculate the first standard deviation of the current image, the second standard deviation of the previous image, and the covariance of the current image and the previous image;

[0079] Step S32: Calculate the mutual correlation coefficient according to the first standard deviation, the second standard deviation and the covariance.

[0080] The calculation formula of the first standard deviation Var(x) is as follows:

[0081] (Formula 1) Where x i is the gray value of the current image pixel (0≤i≤255), is the mean gray value of the current image, and n is the number of pixels in the current image.

[0082] The second standard deviation Var(y) can be calculated using the same formula as the first standard deviation Var(x). In addition, the calculation result of the first standard deviation can be stored and used as the second standard deviation for the next new image calculation.

[0083] The calculation formula of covariance Cov(X,Y) is as follows:

[0084] (Formula 2) Where y i is the grayscale value of the pixel in the previous image (0≤i≤255), is the mean gray value of the previous image.

[0085] The calculation formula of the mutual correlation coefficient r(X,Y) is as follows:

[0086] The calculation methods of Cov(X,Y), Var(x) and Var(y) refer to Formula 1 and Formula 2.

[0087] The above-mentioned mutual correlation coefficient r(X,Y) is calculated and stored.

[0088] Step S40: performing difference calculation on the current image and the previous image to generate a difference image, and calculating a difference statistic of the difference image.

[0089] Specifically, performing difference calculation between the current image and the previous image to generate a difference image may include the following steps:

[0090] Step S41: Subtract pixels of the current image and the previous image one by one, calculate the maximum value (nMax) and the minimum value (nMin) of the difference C obtained by statistics, and calculate the linear transformation parameter scale;

[0091] Here, the subtraction of pixels is the subtraction of grayscale values. The grayscale value range is [0,255]. The maximum value (nMax) is generally greater than 0, while the minimum value (nMin) is likely to be less than 0.

[0092] Among them, the calculation method of the linear transformation parameter scale is:

[0093] If nMax-nMin>255, scale=255 / (nMax-nMin);

[0094] If nMax-nMin≤255, scale=1.

[0095] Step S42: If the difference C between the pixels of the current image and the previous image is zero, the grayscale value of the corresponding position of the difference image is zero;

[0096] Step S43: If the difference C between the pixels of the current image and the previous image is not zero, the grayscale value of the corresponding position of the difference image is the product of the difference between the difference and the minimum value and the linear transformation parameter. The grayscale value of the pixel is equal to (C-nMin)*scale.

[0097] That is to say, for the difference image of the grayscale image, when the pixel values ​​of the current image and the previous image are the same, the pixel on the difference image is 0. If the difference between the pixel values ​​of the current image and the previous image is larger, the pixel value on the difference image is larger. On the difference image, the location where the difference between the pixel values ​​of the current image and the previous image is larger is brighter.

[0098] Calculating the difference statistic of the difference image may include the following steps:

[0099] Step S44: Calculate the standard deviation or variance of the difference image.

[0100] In this embodiment, the variance of the difference image may be calculated. The variance is calculated by squaring the standard deviation calculated by the above formula 1. The variance of the difference image is used as a difference statistic.

[0101] After step S40 is completed, the difference statistics are stored.

[0102] Step S50: performing edge calculation on the current image to generate edge coefficients.

[0103] Specifically, step S50 may include the following steps:

[0104] Step S51: detecting edge information of the current image and generating an edge binary image;

[0105] Step S52: Count the ratio of the number of non-zero values ​​in the edge binary image to the edge ratio in the edge binary image.

[0106] In this embodiment, step S51 can obtain edge information of the current image through the Canny edge detection algorithm, and then generate an edge binary image. In addition, other edge detection algorithms, such as differential edge detection, Sobel edge algorithm, etc. can also be used.

[0107] There are only two types of pixels in the edge binary image, 0 and 255. The edge ratio is the ratio of the number of pixels with a value of 255 to the total number of pixels.

[0108] After step S50 is completed, the edge coefficients are stored.

[0109] Step S60: Determine whether the number of images reaches a preset value.

[0110] If the judgment result of step S60 is no, the current image is taken as the previous image, and the next image is continuously acquired as the new current image, that is, the above steps are repeated until the number of images reaches the preset value.

[0111] The preset value of quantity can be a preset value, and the size of the value can be adjusted as needed, for example, to determine whether the number of images reaches 15 or 20. If the number of images is too small, the doctor's hand may not move, or the doctor's hand shaking is not obvious after a period of time. At this time, if the use status is determined by this judgment method, it may be concluded that the device is not working. Therefore, when the number of images is large enough and reaches the preset value of quantity, the judgment is made. When the preset value of quantity is reached, it means that the time for the probe to acquire the image may be as long as 3s, 5s or even 10s.

[0112] If the judgment result of step S60 is yes, the following steps are performed:

[0113] Step S70: for the multiple cross-correlation coefficients, difference statistics and edge coefficients sequentially generated for the multiple images, respectively calculate the first statistics of the multiple cross-correlation coefficients, the second statistics of the multiple difference statistics, and the third statistics of the multiple edge coefficients.

[0114] In this judgment method, except for the first image obtained, which corresponds to an edge coefficient, each subsequent image corresponds to a mutual correlation coefficient, a difference statistic, and an edge coefficient. Assuming that the number of images is M+1, M mutual correlation coefficients, M difference statistics, and M+1 edge coefficients can be obtained.

[0115] Calculate a first statistic of M correlation coefficients, a second statistic of M difference statistics, and a third statistic of M+1 marginal coefficients, wherein the first statistic, the second statistic, and the third statistic may include mean, median, contrast, variance, standard deviation, and dispersion coefficient.

[0116] In this embodiment, the three statistics are all compared using variance, that is, the first variance of the multiple cross-correlation coefficients, the second variance of the multiple difference statistics, and the third variance of the multiple marginal coefficients are calculated respectively.

[0117] Step S80: judging the usage status of the ultrasound device according to the first statistic, the second statistic and the third statistic.

[0118] When the three statistics all adopt variance, the first variance may be compared with a first preset value, the second variance may be compared with a second preset value, and the third variance may be compared with a third preset value;

[0119] When any variance among the first variance, the second variance, and the third variance is smaller than the corresponding preset value, the ultrasound device is in a non-working state; that is, when the degree of dispersion of an image of a group of judgment methods in any dimension of the first variance, the second variance, and the third variance, or the degree of deviation from the average value is smaller than the corresponding preset value, it is judged that the ultrasound device is in a non-working state at this time.

[0120] Otherwise, the ultrasonic device is in working state.

[0121] When the ultrasonic device is in a non-working state, the following steps are also included:

[0122] Step S90: The ultrasound device enters a standby mode.

[0123] When it is determined that the ultrasound device is in a non-working state, the doctor can also select a suitable working mode according to his or her own needs, or make customized adjustments by adjusting the above-mentioned first preset value, second preset value, third preset value, and quantity preset value.

[0124] Compared with the prior art, this embodiment has the following beneficial effects:

[0125] The method for determining the use status of ultrasound equipment can be used to distinguish whether the ultrasound equipment is in a working state or a non-working state according to changes in the image. Then, when the ultrasound equipment is in a non-working state, the equipment can be adjusted to standby mode, thereby reducing the burden on the ultrasound machine, reducing maintenance costs, and being more conducive to equipment maintenance and extending its service life. At the same time, it can create economic benefits for the hospital and further improve the accuracy of the ultrasound equipment's detection results.

[0126] In one embodiment, a device for determining the use status of an ultrasonic device is provided. Figure 2 The modules included in the usage status judgment device and the specific functions of each module are as follows:

[0127] An acquisition module is used to acquire the current image;

[0128] A cross-correlation calculation module, used to calculate the cross-correlation coefficient between the current image and the previous image;

[0129] A linear transformation module, used for performing difference calculation between the current image and the previous image to generate a difference image, and calculating a difference statistic of the difference image;

[0130] An edge computing module, used to perform edge computing on the current image to generate edge coefficients;

[0131] A replacement module, taking the current image as the previous image, and continuing to obtain the next image as a new current image;

[0132] A statistical module, for calculating first statistics of the plurality of cross-correlation coefficients, second statistics of the plurality of difference statistics, and third statistics of the plurality of edge coefficients for the plurality of cross-correlation coefficients, difference statistics, and edge coefficients sequentially generated from the plurality of images;

[0133] A judgment module is used to judge the use status of the ultrasound device according to the first statistic, the second statistic and the third statistic.

[0134] In one embodiment, the cross-correlation calculation module is used to calculate the first standard deviation of the current image, the second standard deviation of the previous image, and the covariance of the current image and the previous image; the cross-correlation calculation module calculates the cross-correlation coefficient based on the first standard deviation, the second standard deviation and the covariance.

[0135] In one embodiment, a linear transformation module is used to subtract pixels of the current image and the previous image one by one, calculate the maximum and minimum values ​​of the difference, and calculate linear transformation parameters; if the difference between the pixels of the current image and the previous image is zero, the grayscale value of the corresponding position of the difference image is zero; if the difference between the pixels of the current image and the previous image is not zero, the grayscale value of the corresponding position of the difference image is the difference between the difference and the minimum value, and the product of the linear transformation parameters. The linear transformation module is also used to calculate the standard deviation or variance of the difference image.

[0136] In one embodiment, the edge computing module is used to detect edge information of the current image and generate an edge binary map; and calculate the ratio of the number of non-zero values ​​in the edge binary map to the edge ratio in the edge binary map.

[0137] In one embodiment, the statistical module is used to calculate the first variance of the plurality of cross-correlation coefficients, the second variance of the plurality of difference statistics, and the third variance of the plurality of marginal coefficients.

[0138] In one embodiment, the judgment module is used to compare the first variance with a first preset value, compare the second variance with a second preset value, and compare the third variance with a third preset value; when any one of the first variance, the second variance, and the third variance is smaller than the corresponding preset value, the ultrasonic device is in a non-working state; otherwise, the ultrasonic device is in a working state.

[0139] It should be noted that for details not disclosed in the use status determination device of the embodiment of the present invention, please refer to the details disclosed in the use status determination method of the embodiment of the present invention.

[0140] Those skilled in the art will understand that the module diagram is merely an example of a device for determining a status of use, and does not constitute a limitation on a terminal device for determining a status of use. The device may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the device for determining a status of use may also include input and output devices, network access devices, buses, etc.

[0141] The ultrasound device 100 of this embodiment may also include computing devices such as computers, notebooks, PDAs, and cloud servers, as well as including but not limited to a processing module 40, a storage module 50, and a computer program stored in the storage module 50 and executable on the processing module 40, such as the above-mentioned method for determining the use status. When the processing module 40 executes the computer program, the steps in the above-mentioned method for determining the use status are implemented, such as Figure 1 Steps shown.

[0142] In addition to the probe 20, the ultrasound machine 10 and the display module 30, the ultrasound device 100 may further include a signal transmission module and a communication bus 60, such as Figure 3 The signal transmission module can be used to send data to the processing module 40 or the server. The communication bus 60 is used to establish a connection between the probe 20, the ultrasound machine 10, the display module 30, the processing module 40 and the storage module 50. The communication bus 60 may include a path to transmit information between the probe 20, the ultrasound machine 10, the display module 30, the processing module 40 and the storage module 50.

[0143] In addition, the present invention also proposes an electronic device, which includes a storage module 50 and a processing module 40. When the processing module 40 executes the computer program, it can implement the steps in the above-mentioned usage status judgment method, that is, implement the steps in any one of the technical solutions in the above-mentioned usage status judgment method.

[0144] The electronic device may be a part integrated into the ultrasound device 100 , or a local terminal device, or a part of a cloud server.

[0145] The processing module 40 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor. The processing module 40 is the control center of the ultrasonic device 100, and various interfaces and lines are used to connect various parts of the entire ultrasonic device 100.

[0146] The storage module 50 can be used to store the computer programs and / or modules. The processing module 40 implements various functions of the ultrasound device 100 by running or executing the computer programs and / or modules stored in the storage module 50 and calling the data stored in the storage module 50. The storage module 50 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc. In addition, the storage module 50 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0147] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the storage module 50 and executed by the processing module 40 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the ultrasound device 100.

[0148] Furthermore, an embodiment of the present invention provides a readable storage medium storing a computer program, which, when executed by the processing module 40, can implement the steps in the above-mentioned usage status judgment method, that is, implement the steps in any one of the technical solutions in the above-mentioned usage status judgment method.

[0149] If the module integrated in the usage status judgment method is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processing module 40, the steps of each of the above-mentioned method embodiments can be implemented.

[0150] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer readable media do not include electric carrier signals and telecommunication signals.

[0151] It should be understood that although this specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation mode may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

[0152] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for determining the use status of an ultrasonic device, characterized in that: The steps include: Get the current image; Calculating a correlation coefficient between the current image and the previous image; Performing difference calculation on the current image and the previous image to generate a difference image, and calculating a difference statistic of the difference image; Perform edge calculation on the current image to generate an edge coefficient, wherein the edge coefficient includes an edge ratio, and the edge ratio is obtained by detecting edge information of the current image, generating an edge binary image, and counting the number of non-zero values ​​in the edge binary image and the edge ratio in the edge binary image; Taking the current image as the previous image, and continuing to obtain the next image as the new current image; For the multiple cross-correlation coefficients, difference statistics and edge coefficients sequentially generated from the multiple images, respectively calculate a first statistic of the multiple cross-correlation coefficients, a second statistic of the multiple difference statistics, and a third statistic of the multiple edge coefficients; The usage status of the ultrasound device is determined according to the first statistic, the second statistic, and the third statistic.

2. The determination method according to claim 1, characterized in that: The step of calculating the correlation coefficient between the current image and the previous image includes: Calculating a first standard deviation of the current image, a second standard deviation of the previous image, and a covariance of the current image and the previous image; The cross-correlation coefficient is calculated based on the first standard deviation, the second standard deviation, and the covariance.

3. The determination method according to claim 1, characterized in that: The step of performing difference calculation on the current image and the previous image to generate a difference image includes: Subtract pixels of the current image from those of the previous image one by one, calculate the maximum and minimum values ​​of the differences obtained, and calculate linear transformation parameters; If the difference between the pixels of the current image and the previous image is zero, the grayscale value of the corresponding position of the difference image is zero; If the difference between the pixels of the current image and the previous image is not zero, the grayscale value of the corresponding position of the difference image is the product of the difference between the difference and the minimum value and the linear transformation parameter.

4. The determination method according to claim 3, characterized in that: The step of calculating the difference statistic of the difference image comprises: The standard deviation or variance of the difference image is calculated.

5. The determination method according to claim 1, characterized in that: The steps of respectively calculating a first statistic of a plurality of cross-correlation coefficients, a second statistic of a plurality of difference statistics, and a third statistic of a plurality of edge coefficients include: The first variances of the plurality of cross-correlation coefficients, the second variances of the plurality of difference statistics, and the third variances of the plurality of marginal coefficients are calculated respectively.

6. The determination method according to claim 5, characterized in that: The step of judging the use status of the ultrasound device according to the first statistic, the second statistic and the third statistic comprises: Comparing the first variance with a first preset value, comparing the second variance with a second preset value, and comparing the third variance with a third preset value; When any of the first variance, the second variance and the third variance is less than the corresponding preset value, the ultrasonic device is in a non-working state; Otherwise, the ultrasonic device is in working state.

7. The determination method according to claim 6, characterized in that: When the ultrasound device is in a non-working state, the ultrasound device enters a standby mode.

8. The determination method according to claim 1, characterized in that: The step of taking the current image as the previous image and continuing to obtain the next image as the new current image also includes: Determine whether the number of images reaches a preset value; If yes, for the plurality of cross-correlation coefficients, difference statistics and edge coefficients sequentially generated for the plurality of images, respectively calculate a first statistic of the plurality of cross-correlation coefficients, a second statistic of the plurality of difference statistics, and a third statistic of the plurality of edge coefficients; If not, the current image is used as the previous image, and the next image is obtained as the new current image.

9. The determination method according to claim 1, characterized in that: The step of obtaining the current image also includes: Get the current image; Compare the parameters of the current image and the previous image to see if they are the same. If not, restart the determination method.

10. A device for determining the use status of an ultrasonic device, characterized in that: include: An acquisition module is used to acquire the current image; A cross-correlation calculation module, used to calculate the cross-correlation coefficient between the current image and the previous image; A linear transformation module, used for performing difference calculation between the current image and the previous image to generate a difference image, and calculating a difference statistic of the difference image; An edge calculation module is used to perform edge calculation on the current image to generate an edge coefficient, wherein the edge coefficient includes an edge ratio, and the edge ratio is obtained by detecting edge information of the current image, generating an edge binary image, and counting the number of non-zero values ​​in the edge binary image and the edge ratio in the edge binary image; A replacement module, taking the current image as the previous image, and continuing to obtain the next image as a new current image; A statistical module, for calculating first statistics of the plurality of cross-correlation coefficients, second statistics of the plurality of difference statistics, and third statistics of the plurality of edge coefficients for the plurality of cross-correlation coefficients, difference statistics, and edge coefficients sequentially generated from the plurality of images; A judgment module is used to judge the use status of the ultrasound device according to the first statistic, the second statistic and the third statistic.

11. An ultrasonic device, characterized in that: include: A probe, used to emit ultrasonic waves and receive reflected waves; An ultrasound machine, connected to the probe and generating a current image according to the reflected wave; A storage module storing a computer program; The processing module can implement the steps of the method for determining the usage status of an ultrasonic device as described in any one of claims 1 to 9 when executing the computer program.

12. A readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processing module, the steps in the method for determining the usage status of an ultrasonic device as described in any one of claims 1 to 9 can be implemented.

Citation Information

Patent Citations

  • Automatic configuration detection for sensor equipped needle

    CN106163416A

  • Power consumption reducing method and device for ultrasonic equipment

    CN110613479A