Disclosure of Invention
In order to solve the technical problem that the probe displacement of a B-ultrasonic machine in the prior art depends on manual operation seriously, the invention provides a probe self-displacement type vertical B-ultrasonic machine, which uses a command trigger device to measure the number of isolated points in an edge enhanced image on the basis of targeted image processing, and sends out a first driving command when the number of the isolated points is more than or equal to a preset number threshold, and uses a probe displacement device to automatically move to the next detection position according to a preset movement track when receiving the first driving command, or stay at the current detection position; in the specific image processing, the reference depth ratio image and the image after the non-linear processing are introduced for depth ratio comparison, and the depth ratio of the upper left corner area is only compared, so that the operation resources are effectively saved, and the power consumption of the equipment is reduced.
According to an aspect of the present invention, there is provided a vertical type B-ultrasonic machine of a probe self-displacement type, the vertical type B-ultrasonic machine including:
the digital reading circuit is arranged in the vertical type-B ultrasonic machine, is connected with a character memory of the vertical type-B ultrasonic machine, and is used for dividing 8-bit codes from the character memory into two 4-bit codes and sending the two 4-bit codes to a frame memory; the D/A converter is arranged in the vertical type B ultrasonic machine, is connected with a frame memory of the vertical type B ultrasonic machine and is used for executing D/A conversion processing on the received signals; in the frame memory, mixing the image signal in the frame memory with the two 4-bit codes, and sending the mixed signal to a D/A converter; the probe shifting device is used for automatically moving to the next detection position according to a preset moving track when receiving a first driving command, and is also used for staying at the current detection position when receiving a second driving command; the image smoothing processing is connected with the frame memory and used for receiving the image signals, executing image smoothing processing on the image signals to obtain corresponding current smooth images and outputting the current smooth images; the nonlinear processing device is connected with the image smoothing processing and is used for receiving the current smooth image and executing nonlinear tone editing processing on the current smooth image so as to obtain and output a corresponding nonlinear processing image; the SDRAM storage equipment is used for storing a reference depth ratio image in advance, and the depth ratio of each area in the reference depth ratio image exceeds the limit; the area comparison device is respectively connected with the nonlinear processing device and the SDRAM storage device, and is used for comparing the depth proportion of the upper left corner area in the nonlinear processing image with the depth proportion of the upper left corner area of the reference depth proportion image, when the depth proportion of the upper left corner area in the nonlinear processing image exceeds the depth proportion of the upper left corner area of the reference depth proportion image, a depth proportion scaling signal is sent out, and when the depth proportion of the upper left corner area in the nonlinear processing image does not exceed the depth proportion of the upper left corner area of the reference depth proportion image, a depth proportion non-scaling signal is sent out, wherein the depth proportion of the image is the ratio of the number of pixels of which the brightness values fall within the depth range to the number of pixels of which the brightness values fall within the depth range; the editing processing device is connected with the area comparison device and used for executing image nonlinear tone editing processing on the nonlinear processing image by using nonlinear tone editing again when the shade proportion non-standard signal is received so as to obtain an editing processing image, and also used for directly outputting the nonlinear processing image as the editing processing image when the shade proportion standard signal is received; the edge enhancement device is connected with the editing processing device and used for receiving the editing processing image and executing an edge enhancement action on the editing processing image to obtain an edge enhancement image; the command triggering device is respectively connected with the probe shifting device and the edge enhancement device and is used for measuring the number of isolated points in the edge enhancement image and sending out a first driving command when the number of the isolated points is greater than or equal to a preset number threshold; the command trigger device is further configured to issue a second driving command when the number of the isolated points is smaller than the preset number threshold.
More specifically, the probe self-displacement type vertical B-ultrasonic machine further includes:
and the wireless routing equipment is connected with the edge enhancement equipment and is used for receiving the edge enhancement image, performing MPEG-4 image compression coding on the edge enhancement image, and wirelessly distributing the edge enhancement image subjected to compression coding.
More specifically, the probe self-displacement type vertical B-ultrasonic machine further includes:
a fragment operation device connected to the edge enhancement device, configured to receive an edge enhancement image, obtain a red channel value of each pixel in the edge enhancement image, determine a gradient of each direction of the red channel value of each pixel as a red channel value gradient, determine scene complexity corresponding to the edge enhancement image based on the red channel value gradient of each pixel, determine, when the received scene complexity is greater than or equal to a preset complexity threshold, an image fragment number for performing average segmentation on the edge enhancement image based on the scene complexity, where the higher the scene complexity is, the more image fragments are obtained by performing average segmentation on the edge enhancement image, perform filtering processing operation based on an image fragment noise amplitude on each image fragment to obtain each filtering fragment, and the smaller the image fragment noise amplitude is, the smaller the intensity of the filtering processing operation performed on the image fragments is, performing a splicing operation of smoothing processing at a splicing position on each filtering fragment to obtain a fragment operation image, and the fragment operation device is further configured to perform a filtering operation on the full image of the edge-enhanced image to obtain a fragment operation image when the complexity of the received scene is smaller than a preset complexity threshold.
Detailed Description
Embodiments of a probe self-displacement type vertical type B-ultrasonic machine according to the present invention will be described in detail with reference to the accompanying drawings.
The scope of B-ultrasonic examination is very wide, and different examination parts and preparations before examination are different. Checking the abdomen: including the liver, gallbladder, pancreas, spleen, abdominal cavity, etc. Generally, examination should be performed on an empty stomach, because after eating, gas is generated in the stomach and intestinal tract, which affects the penetration of ultrasound, and the examination on an empty stomach is the best. ② gynecological examination: should drink water to hold urine, when the bladder is full, the intestinal canal is squeezed open, the ultrasound can better penetrate into the pelvic cavity, and the normality and abnormality of the uterus and the ovary can be clearly displayed. Checking the urinary system: more water should be taken, and stones, tumors, polyps and the like in the bladder can be better displayed after the bladder is full. Fourthly, body surface tumor and pathological changes: the inspection can be performed immediately, generally without special preparation. The blood vessels of the heart and the limbs are inspected without preparation.
The B-ultrasonic machine is the main examination method of ultrasound, and although the development of ultrasound has been advanced rapidly, such as endoscopic ultrasound, ultrasound contrast, three-dimensional imaging, elastography, etc., all have been developed on the basis of B-ultrasonic.
In order to overcome the defects, the invention builds the probe self-displacement type vertical B-ultrasonic machine, and can effectively solve the corresponding technical problem.
Fig. 1 is a schematic structural diagram of a vertical type B-ultrasonic machine of a probe self-displacement type according to an embodiment of the present invention, the vertical type B-ultrasonic machine including:
the digital reading circuit is arranged in the vertical type-B ultrasonic machine, is connected with a character memory of the vertical type-B ultrasonic machine, and is used for dividing 8-bit codes from the character memory into two 4-bit codes and sending the two 4-bit codes to a frame memory;
the D/A converter is arranged in the vertical type B ultrasonic machine, is connected with a frame memory of the vertical type B ultrasonic machine and is used for executing D/A conversion processing on the received signals;
in the frame memory, mixing the image signal in the frame memory with the two 4-bit codes, and sending the mixed signal to a D/A converter;
the probe shifting device is used for automatically moving to the next detection position according to a preset moving track when receiving a first driving command, and is also used for staying at the current detection position when receiving a second driving command;
the image smoothing processing is connected with the frame memory and used for receiving the image signals, executing image smoothing processing on the image signals to obtain corresponding current smooth images and outputting the current smooth images;
the nonlinear processing device is connected with the image smoothing processing and is used for receiving the current smooth image and executing nonlinear tone editing processing on the current smooth image so as to obtain and output a corresponding nonlinear processing image;
the SDRAM storage equipment is used for storing a reference depth ratio image in advance, and the depth ratio of each area in the reference depth ratio image exceeds the limit;
the area comparison device is respectively connected with the nonlinear processing device and the SDRAM storage device, and is used for comparing the depth proportion of the upper left corner area in the nonlinear processing image with the depth proportion of the upper left corner area of the reference depth proportion image, when the depth proportion of the upper left corner area in the nonlinear processing image exceeds the depth proportion of the upper left corner area of the reference depth proportion image, a depth proportion scaling signal is sent out, and when the depth proportion of the upper left corner area in the nonlinear processing image does not exceed the depth proportion of the upper left corner area of the reference depth proportion image, a depth proportion non-scaling signal is sent out, wherein the depth proportion of the image is the ratio of the number of pixels of which the brightness values fall within the depth range to the number of pixels of which the brightness values fall within the depth range;
the editing processing device is connected with the area comparison device and used for executing image nonlinear tone editing processing on the nonlinear processing image by using nonlinear tone editing again when the shade proportion non-standard signal is received so as to obtain an editing processing image, and also used for directly outputting the nonlinear processing image as the editing processing image when the shade proportion standard signal is received;
the edge enhancement device is connected with the editing processing device and used for receiving the editing processing image and executing an edge enhancement action on the editing processing image to obtain an edge enhancement image;
the command triggering device is respectively connected with the probe shifting device and the edge enhancement device and is used for measuring the number of isolated points in the edge enhancement image and sending out a first driving command when the number of the isolated points is greater than or equal to a preset number threshold;
the command trigger device is further configured to issue a second driving command when the number of the isolated points is smaller than the preset number threshold.
Next, a specific configuration of the probe self-displacement vertical type B-ultrasonic machine of the present invention will be further described.
In the probe self-displacement vertical type B-ultrasonic machine, the method further comprises:
and the wireless routing equipment is connected with the edge enhancement equipment and is used for receiving the edge enhancement image, performing MPEG-4 image compression coding on the edge enhancement image, and wirelessly distributing the edge enhancement image subjected to compression coding.
In the probe self-displacement vertical type B-ultrasonic machine, the method further comprises:
a fragment operation device connected to the edge enhancement device, configured to receive an edge enhancement image, obtain a red channel value of each pixel in the edge enhancement image, determine a gradient of each direction of the red channel value of each pixel as a red channel value gradient, determine scene complexity corresponding to the edge enhancement image based on the red channel value gradient of each pixel, determine, when the received scene complexity is greater than or equal to a preset complexity threshold, an image fragment number for performing average segmentation on the edge enhancement image based on the scene complexity, where the higher the scene complexity is, the more image fragments are obtained by performing average segmentation on the edge enhancement image, perform filtering processing operation based on an image fragment noise amplitude on each image fragment to obtain each filtering fragment, and the smaller the image fragment noise amplitude is, the smaller the intensity of the filtering processing operation performed on the image fragments is, performing a splicing operation of smoothing processing at a splicing position on each filtering fragment to obtain a fragment operation image, and the fragment operation device is further configured to perform a filtering operation on the full image of the edge-enhanced image to obtain a fragment operation image when the complexity of the received scene is smaller than a preset complexity threshold.
In the probe self-displacement type vertical type B ultrasonic machine: the fragment manipulation device is further configured to replace the edge-enhanced image with the fragment manipulation image to send to the command trigger device.
In the probe self-displacement type vertical type B ultrasonic machine: the fragment operation equipment comprises a channel value capturing sub-equipment, a complexity analyzing sub-equipment and a fragment filtering sub-equipment, wherein the channel value capturing sub-equipment is connected with the complexity analyzing sub-equipment, and the fragment filtering sub-equipment is connected with the complexity analyzing sub-equipment.
In the probe self-displacement type vertical type B ultrasonic machine: and the channel value capturing sub-equipment is used for acquiring the red channel value of each pixel point in the edge enhanced image.
In the probe self-displacement type vertical type B ultrasonic machine: the complexity analysis sub-device is used for determining gradients of the red channel values of each pixel point in all directions to serve as gradients of the red channel values, and determining scene complexity corresponding to the edge enhancement image based on the gradients of the red channel values of the pixel points.
In the probe self-displacement type vertical type B ultrasonic machine: the fragment filtering sub-device is used for when the received scene complexity is greater than or equal to a preset complexity threshold, determining a number of image patches for an average segmentation of the edge-enhanced image based on the scene complexity, the higher the scene complexity, the greater the number of image patches for which the edge-enhanced image is subjected to average segmentation, the smaller the image patch noise amplitude is, the smaller the intensity of the filtering processing operation performed on the image patches is, the more smoothly the splicing operation at the splicing is performed on the respective filtering patches to obtain patch operation images, and the fragment filtering sub-device is further configured to, when the received scene complexity is smaller than a preset complexity threshold, and performing a filtering operation on the full image of the edge enhanced image to obtain a fragment operation image.
Synchronous Dynamic random access Memory, wherein the Synchronous means that a Synchronous clock is needed for Memory work, and the sending of internal commands and the transmission of data take the Synchronous clock as a reference; dynamic means that the memory array needs to be refreshed continuously to ensure that data is not lost; random means that data are not stored linearly and sequentially, but data are read and written by freely appointing addresses. The clock frequency of the SDR SDRAM is the frequency of data storage. The operating voltage of the SDRAM is 3.3V.
By adopting the probe self-displacement type vertical B-ultrasonic machine, aiming at the technical problem that the probe displacement of the B-ultrasonic machine in the prior art depends on manual operation seriously, on the basis of targeted image processing, a command trigger device is used for measuring the number of isolated points in an edge enhanced image, when the number of the isolated points is more than or equal to a preset number threshold value, a first driving command is sent out, and a probe displacement device is used for automatically moving to the next detection position according to a preset movement track when receiving the first driving command, or else, the probe displacement device stays at the current detection position; in the specific image processing, the reference depth ratio image and the image after the non-linear processing are introduced for depth ratio comparison, and the depth ratio of the upper left corner area is only compared, so that the operation resources are effectively saved, and the power consumption of the equipment is reduced.
It is to be understood that while the present invention has been described in conjunction with the preferred embodiments thereof, it is not intended to limit the invention to those embodiments. It will be apparent to those skilled in the art from this disclosure that many changes and modifications can be made, or equivalents modified, in the embodiments of the invention without departing from the scope of the invention. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention, unless the contents of the technical solution of the present invention are departed.