Medical ultrasonic image processing method

文档序号:882759 发布日期:2021-03-19 浏览:2次 中文

阅读说明:本技术 一种医疗超音波图像处理方法 (Medical ultrasonic image processing method ) 是由 杨磊 于 2020-11-03 设计创作,主要内容包括:本发明提供了一种医疗超音波图像处理方法,主要在数据压缩的过程中,同时对低频至高频各频带进行处理,其方式是透过所述截断资料,使得各频带内的小波系数得以同时进行截断,所截断的比特被视为误差值,所以可直接省略,而截断后的残余字节则直接进行编码处理,最后可得到所述解压缩后的超音波影像数据。如此一来可大幅降低影像传输时所需时间。同时,也由于本创作在进行量化的过程中无须进行除法处理,这使得处理过程中不会额外产生小数点,进而不会衍生数据需额外增加位数的问题,可有效提升整体压缩质量及速率。如此一来,透过本创作的方法,可有效提升整体的数据传输、压缩、解压缩等速度,同时可保持较佳的压缩量以利数据的储存。(The invention provides a medical ultrasonic image processing method, which is mainly used for simultaneously processing low-frequency to high-frequency bands in the process of data compression, and is characterized in that wavelet coefficients in the frequency bands are simultaneously truncated through truncation data, and truncated bits are regarded as error values, so that the error values can be directly omitted, truncated residual bytes are directly coded, and finally decompressed ultrasonic image data can be obtained. Therefore, the time required for image transmission can be greatly reduced. Meanwhile, division processing is not needed in the process of quantization, so that decimal points are not additionally generated in the processing process, the problem that data needs to be additionally increased in number of bits is avoided, and the overall compression quality and rate can be effectively improved. Therefore, the method can effectively improve the speed of overall data transmission, compression, decompression and the like, and simultaneously can keep better compression amount to facilitate the storage of data.)

1. A medical ultrasonic image processing method is characterized by comprising the following steps:

(A) taking ultrasonic image data, performing wavelet conversion on the ultrasonic image data, and sequentially dividing the ultrasonic image data into a first frequency band, a second frequency band, a third frequency band and a tenth frequency band from a low frequency to a high frequency, wherein each frequency band comprises at least one wavelet coefficient;

(B) measuring corresponding truncated data according to the data quantity of the ultrasonic image data, wherein each truncated data comprises a first truncated bit number, a second truncated bit number, a third truncated bit number, a fourth truncated bit number, a fifth truncated bit number, a sixth truncated bit number and a sixth truncated bit number respectively, each truncated bit number corresponds to each frequency band, and each truncated bit number represents the number of the corresponding frequency;

(C) converting each wavelet coefficient into binary system to form bytes, and truncating the wavelet coefficients in each corresponding frequency band from the minimum bit to the highest bit by the number of bits equal to the number of bits to be truncated according to each truncated bit number to obtain complex residual bytes;

(D) encoding the plurality of residual bytes to obtain compressed data of the ultrasonic image data, and transmitting or storing the compressed data;

(E) when decompressing, the wavelet coefficient of each frequency band is according to the formula:whereinRepresenting the wavelet coefficient value represented by the residual byte, b representing the truncation bit number, and w representing the decompressed wavelet coefficient value, to obtain the decompressed ultrasonic image data.

2. The method of claim 1, wherein the three-dimensional ultrasound image data is created according to the following steps:

(F) acquiring fluorescence image acquisition data of a living body, wherein the fluorescence image acquisition data comprises laser measurement data and fluorescence measurement data, and the fluorescence measurement data comprises a fluorescence measurement value phim(ii) a And acquiring the fluorescence image acquisition data according to a formula:

performing an operation to obtain muaAnd musThen, according to the formula:

obtaining the luminous efficiency (mu) of fluorescenceaf) Where D represents the diffusion coefficient, phi represents the luminous flux, S represents the light source term, muaRepresents the absorption coefficient, x represents data obtained in a state of emitting laser light, and m represents data obtained in a state of emitting fluorescence;

(G) according to the formula:

determining the surface fluorescence distribution value phic

(H) According to the formula Reconstructing the fluorescence diffusion optical image to obtain a fluorescence diffusion optical image;

(I) taking ultrasonic image acquisition data of a living body for operation to obtain ultrasonic structural image data; and calculating according to the fluorescence diffusion optical image and the ultrasonic wave structure image data to obtain the three-dimensional ultrasonic wave image data.

3. The method of claim 2, wherein step (D) backs up the compressed data into a plurality of cloud servers; (J) when a request end sends out a request for downloading the ultrasonic image data, each cloud server executes the step (E); (K) each cloud server divides the ultrasonic image data into a plurality of data blocks, and according to a formula:

computing the computing power of each cloud server, wherein PvaliProcessor performance, Mval, on behalf of cloud serversiMemory size, Pu, representing cloud serveriProcessor usage, Mu, on behalf of cloud serveriRepresenting memory usage, P (S) of cloud serveri) Number of nodes representing cloud server, miRepresenting a data block; and then, according to the computing power of each cloud server and the bandwidth speed of the request end, controlling each cloud server to respectively transmit different data blocks to the request end so that the request end can obtain the ultrasonic image data.

4. The method of claim 3, wherein in step (K), if the bandwidth speed of the requesting end is lower than a predetermined value, only one of the cloud servers is controlled to transmit the ultrasonic image data to the requesting end.

Technical Field

The invention relates to the technical field of medical treatment, in particular to a medical ultrasonic image processing method.

Background

It is a task that needs to match with time for the medical system, which makes the compression and transmission of related data very important, which often concerns whether the life of a patient is continued, and therefore how to compress and decompress the medical image quickly in a state of low distortion rate is a very important issue.

Disclosure of Invention

The invention solves the problem of how to compress and decompress medical images quickly under the condition of keeping low distortion rate.

In order to solve the above problems, the present invention provides a medical ultrasonic image processing method, comprising the steps of:

(A) taking ultrasonic image data, performing wavelet conversion on the ultrasonic image data, and sequentially dividing the ultrasonic image data into a first frequency band, a second frequency band, a third frequency band and a tenth frequency band from a low frequency to a high frequency, wherein each frequency band comprises at least one wavelet coefficient;

(B) measuring corresponding truncated data according to the data quantity of the ultrasonic image data, wherein each truncated data comprises a first truncated bit number, a second truncated bit number, a third truncated bit number, a fourth truncated bit number, a fifth truncated bit number, a sixth truncated bit number and a sixth truncated bit number respectively, each truncated bit number corresponds to each frequency band, and each truncated bit number represents the number of the corresponding frequency;

(C) converting each wavelet coefficient into binary system to form bytes, and truncating the wavelet coefficients in each corresponding frequency band from the minimum bit to the highest bit by the number of bits equal to the number of bits to be truncated according to each truncated bit number to obtain complex residual bytes;

(D) encoding the plurality of residual bytes to obtain compressed data of the ultrasonic image data, and transmitting or storing the compressed data;

(E) when decompressing, the wavelet coefficient of each frequency band is according to the formula:f whereinRepresenting wavelet coefficient value represented by residual byte, b representing truncation bit number, and w generationThe wavelet coefficient values after decompression are shown to obtain the decompressed ultrasonic image data.

The invention has the advantages that: in the process of data compression, the system can process each frequency band from low frequency to high frequency at the same time, the wavelet coefficient in each frequency band can be simultaneously truncated by the truncation data, the truncated bit is regarded as an error value, so that the error value can be directly omitted, the truncated residual byte is directly coded, and finally the decompressed ultrasonic image data can be obtained.

The compression process needs to be performed sequentially from a low frequency band to a high frequency band, so that the compression process needs to consume much time. Meanwhile, division processing is not needed in the process of quantization, so that decimal points are not additionally generated in the processing process, the problem that data needs to be additionally increased in number of bits is avoided, and the overall compression quality and rate can be effectively improved. Therefore, the method can effectively improve the speed of overall data transmission, compression, decompression and the like, and simultaneously can keep better compression amount to facilitate the storage of data.

Drawings

FIG. 1 is a schematic flow chart of the present invention relating to compression and decompression of ultrasound images;

FIG. 2 is a schematic diagram of the process of creating a three-dimensional ultrasound image;

FIG. 3 is a flowchart illustrating the operation of the present invention with respect to ultrasound image data transmission.

FIG. 4 is a schematic diagram of ultrasound image data reception according to the present invention.

Description of reference numerals:

11-a first cloud server; 12-a second cloud server; 13-a third cloud server; 2-request end.

Detailed Description

In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.

Example 1:

the creation mainly includes three processing modes, namely data compression, three-dimensional image establishment, and data transmission, and in this embodiment 1, data compression is mainly described. Referring to fig. 1, the present invention relates to a medical ultrasonic image processing method, which is characterized by comprising the following steps:

(A)

taking ultrasonic image data, performing wavelet transformation on the ultrasonic image data, and sequentially dividing the ultrasonic image data into a first frequency band, a second frequency band, a third frequency band and a tenth frequency band from a low frequency to a high frequency, wherein each frequency band comprises at least one wavelet coefficient.

(B)

And measuring corresponding truncated data according to the data quantity of the ultrasonic image data, wherein each truncated data comprises a first truncated bit number, a second truncated bit number, a third truncated bit number, a fourth truncated bit number, a fifth truncated bit number, a sixth truncated bit.

(C)

Converting each wavelet coefficient into binary system to form bytes, and according to each truncated bit number, truncating the wavelet coefficient in each corresponding frequency band from the minimum bit to the highest bit by the bit number equal to the corresponding truncated bit number to obtain complex residual bytes.

(D)

And coding the plurality of residual bytes to obtain compressed data of the ultrasonic image data, and transmitting or storing the compressed data.

(E)

When decompressing, the wavelet coefficient of each frequency band is according to the formula:whereinRepresents the wavelet coefficient value represented by the residual byte, b represents the number of truncation bits, and w representsThe decompressed wavelet coefficient value is used to obtain the decompressed ultrasonic image data.

For example, when the wavelet coefficient of one band is 124, after converting 124 into binary, the sequence from the highest bit to the lowest bit is: [1,1,1,1,1,0,0] when the truncation data indicates that the number of truncation bits required for the frequency band is 2, then [1,1,1,1,1,0,0] is truncated [0,0] to obtain [1,1,1,1,1] as the residual byte, a plurality of residual bytes are encoded to obtain compressed data of the ultrasonic image data, and the compressed data is transmitted or stored.

While at decompression, the [1,1,1]The wavelet coefficient value represented is 31, and then according to the truncation bit number 2 and the formula:calculating to obtain w-31 x 22+22-1And/4-124.5 as the decompressed wavelet coefficient value, and finally obtaining the decompressed ultrasonic image data.

The invention has the advantages that: the system can process each frequency band from low frequency to high frequency simultaneously in the process of data compression, the wavelet coefficient in each frequency band can be simultaneously truncated through the truncation data, the truncated bit number is regarded as an error value, so that the error value can be directly omitted, the truncated residual byte is directly coded, and finally the decompressed ultrasonic image data can be obtained.

The compression process needs to be performed sequentially from a low frequency band to a high frequency band, so that the compression process needs to consume much time. Meanwhile, division processing is not needed in the process of quantization, so that decimal points are not additionally generated in the processing process, the problem that the number of bits of data is additionally increased is avoided, and the overall compression quality and rate can be effectively improved. Therefore, the method can effectively improve the speed of overall data transmission, compression, decompression and the like, and simultaneously can keep better compression amount to facilitate the storage of data.

Example 2:

referring to fig. 2, the method steps of the present creation for creating a three-dimensional image are described as follows:

(F) acquiring fluorescence image acquisition data of a living body, wherein the fluorescence image acquisition data comprises laser measurement data and fluorescence measurement data, and the fluorescence measurement data comprises a fluorescence measurement value phim(ii) a And acquiring the fluorescence image acquisition data according to a formula:

performing an operation to obtain muaAnd musThen, according to the formula:

obtaining the luminous efficiency (mu) of fluorescenceaf) Where D represents the diffusion coefficient, phi represents the luminous flux, S represents the light source term, muaRepresents the absorption coefficient, x represents the data obtained in the state of emitting laser, and m represents the data obtained in the state of emitting fluorescence;

(G) according to the formula:

determining the surface fluorescence distribution value phic

(H) According to the formulaReconstructing the fluorescence diffusion optical image to obtain a fluorescence diffusion optical image;

(I) taking ultrasonic image acquisition data of a living body for operation to obtain ultrasonic structural image data; and finally, calculating according to the fluorescence diffusion optical image and the ultrasonic wave structure image data to obtain the ultrasonic wave image data.

The creation has the main advantages that the characteristic of fluorescence and the advantage that the ultrasonic image has high resolution ratio on the soft tissue and the object outline of the organism are utilized, and through a series of operations, in the established three-dimensional ultrasonic image, the normal cell tissue and the tissue with pathological changes or the cancer tissue can be obviously distinguished, so that the related inspection personnel can clearly identify the three-dimensional ultrasonic image, and therefore, the ultrasonic image data has better resolution ratio and better tumor and cancer tissue positioning.

Example 3:

next, the present embodiment describes the transmission of ultrasonic image data, referring to fig. 3, the present embodiment further includes: backing up the compressed data into a plurality of cloud servers; (J) when a request end sends out a request for downloading the ultrasonic image data, each cloud server executes the step (E); (K) each cloud server divides the ultrasonic image data into a plurality of data blocks, and according to a formula:

computing the computing power of each cloud server, wherein pvaliProcessor performance, Mval, on behalf of cloud serversiMemory size, Pu, representing cloud serveriProcessor usage, Mu, on behalf of cloud serveriRepresenting memory usage, P (S) of cloud serveri) Number of nodes representing cloud server, miRepresenting a data block; and then, according to the computing power of each cloud server and the bandwidth speed of the request end, controlling each cloud server to respectively transmit different data blocks to the request end so that the request end can obtain the ultrasonic image data. Because more than two cloud servers can be built in one server host, when more than two cloud servers can be built in one server host, the number of the nodes of the cloud servers is 2, and similarly, when more than three cloud servers can be built in one server host, the number of the nodes of the cloud servers is 3.

Please refer to fig. 4 and 11, which show that the ultrasonic image data is stored in the first cloud server and is divided into 6 data blocks, 12 shows that the ultrasonic image data is stored in the second cloud server and is divided into 6 data blocks, 13 shows that the ultrasonic image data is stored in the third cloud server and is divided into 6 data blocks, 2 shows that the request end receives 6 data blocks, and the 6 data blocks jointly form the ultrasonic image data.

For example, when the request end requests to send the ultrasonic image data, it is determined that the first cloud server 11 should send 3 data blocks to the request end 2, the second cloud server 12 should send 2 data blocks to the request end 2, and the third cloud server 13 should send 1 data block to the request end 2 according to the computing capability of each cloud server and the bandwidth speed of the request end. In this way, the requesting end 2 receives 6 data blocks and combines the ultrasound image data together.

In the embodiment, the size and the block of the data to be transmitted by each cloud server are dynamically adjusted by mainly evaluating the operation capability of each cloud server and the bandwidth of the request end, so that when a doctor visits, the doctor can receive the ultrasonic image data in real time at a higher speed.

Example 4:

in support embodiment 3, in order to avoid that the request end cannot simultaneously load the data blocks transmitted by the cloud servers and thus the overall transmission speed is compromised, the request end must only transmit the data blocks to one of the cloud servers, and therefore, the creation may further be implemented as follows: in step (K), if the bandwidth speed of the requesting end is lower than a default value, only one of the cloud servers is controlled to transmit the ultrasonic image data to the requesting end.

Although the present disclosure has been described above, the scope of the present disclosure is not limited thereto. Various changes and modifications may be effected therein by one of ordinary skill in the pertinent art without departing from the spirit and scope of the present disclosure, and these changes and modifications are intended to be within the scope of the present disclosure.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于图像压缩的方法、设备和计算机可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类