Disclosure of Invention
According to an aspect of the present invention, there is provided a medical device safety shield mechanism, the mechanism comprising:
and the pressure detection equipment is arranged on the oxygen cylinder and used for detecting the real-time pressure in the oxygen cylinder and sending a pressure alarm command when the real-time pressure exceeds the limit, or sending a normal pressure command.
More specifically, in the medical device safety protection mechanism, further include:
and the miniature imaging equipment is arranged above the oxygen cylinder and is used for performing imaging operation on the position of the oxygen cylinder so as to obtain an image around the oxygen cylinder.
More specifically, in the medical device safety protection mechanism, further include:
and the image traversing device is connected with the miniature imaging device and is used for receiving the images around the oxygen cylinder, performing non-overlapping traversing on the images around the oxygen cylinder by adopting a smooth window according to the sequence from left to right and from top to bottom to obtain corresponding traversing windows and outputting the traversing windows.
More specifically, in the medical device safety protection mechanism, further include:
the particle acquisition equipment is connected with the image traversal equipment and used for receiving the traversal windows and performing the following particle confirmation actions on the traversal windows: obtaining the mean value of all brightness values of all pixel points in each traversal window to be used as a window mean value, carrying out deviation degree analysis on the window mean value and the overall brightness of the image around the oxygen cylinder, and when the deviation degree exceeds the limit, determining the traversal window to be a particle block;
the image dividing device is connected with the particle collecting device and used for forming a particle pattern in the oxygen cylinder periphery image based on each particle block output by the particle collecting device, and taking the image of the oxygen cylinder periphery image after the particle pattern is stripped as a non-particle pattern;
a differentiation processing device connected to the image dividing device, for receiving the grain pattern and the non-grain pattern, performing a low-pass filtering process on the grain pattern using a preset frequency threshold as a cutoff frequency to obtain a grain low-pass pattern, and further performing a low-pass filtering process on the non-grain pattern using one-half of the preset frequency threshold as the cutoff frequency to obtain a non-grain low-pass pattern, and outputting the grain low-pass pattern and the non-grain low-pass pattern;
the data fitting device is connected with the differentiation treatment device and used for receiving the particle low-pass pattern and the non-particle low-pass pattern and fitting the particle low-pass pattern and the non-particle low-pass pattern to obtain a fitted image corresponding to the image around the oxygen cylinder;
the signal analysis equipment is connected with the data fitting equipment and used for receiving the fitted image, extracting the characteristic quantity related to smoothing processing of the fitted image, inputting the extracted characteristic quantity into a data analysis model consisting of an input layer, an output layer and a plurality of hidden layers and carrying out data analysis on the characteristic quantity input by the input layer by layer, wherein the output layer is connected with the last hidden layer and used for outputting the result of data analysis of the last hidden layer, and the output quantity type of the output layer is a smoothing processing type;
the self-adaptive smoothing equipment is connected with the signal analysis equipment and is used for receiving the smoothing processing type and executing smoothing operation based on the smoothing processing type on the fitting image so as to obtain and output a smoothed image;
the amplitude measuring device is connected with the self-adaptive smoothing device and used for receiving the smoothed image, analyzing the amplitude of the noise in the smoothed image to obtain the maximum amplitude in the smoothed image, and determining the sizes of image segmentation blocks which are in direct proportion to the maximum amplitude based on the maximum amplitude to obtain all segmentation blocks with the same size;
the area selection device is connected with the amplitude measurement device and used for receiving the segmentation blocks with the same size and selecting four segmentation blocks positioned at four corner positions in the smoothed image from the segmentation blocks in the smoothed image as four corner segmentation blocks;
the regional identification equipment is respectively connected with the amplitude measurement equipment and the regional selection equipment and used for receiving the four segmentation blocks, acquiring the red component mean value of each corner segmentation block, calculating the mean value of the four red component mean values of the four corner image regions, outputting the acquired mean value as an integral component mean value, and acquiring the red component mean value of each corner segmentation block comprises: and obtaining each red component value of each pixel point of each corner segmentation block, sequencing each red component value of each pixel point, and taking the red component value of the central serial number as the red component average value of the corner segmentation block.
The invention has at least the following three key points: (1) performing particle analysis on an image to be processed by adopting a traversal window with the size in direct proportion to the signal-to-noise ratio of the image around the oxygen cylinder to obtain particle low-pass patterns and non-particle low-pass patterns, and performing different differentiation processing on the particle low-pass patterns and the non-particle low-pass patterns to obtain a filtered image with a clearer filtering effect; (2) determining the sizes of image segmentation blocks which are in direct proportion to the maximum amplitude of the noise in the image to obtain the segmentation blocks with the same size; (3) in order to save the amount of operation of image processing, the four red component mean values of the four corner image areas of the image are subjected to averaging calculation to obtain the red component mean value of the whole image, and whether to perform brightness enhancement processing is determined based on the red component mean value of the whole image to improve the usability of the image.
Detailed Description
Embodiments of the medical device safety shield mechanism of the present invention will now be described in detail.
The oxygen cylinder is particularly protected from the sun during use. Generally, the air bottle is transported and should be prevented from solarization in summer. Because the volume of the oxygen cylinder is limited, exposure to the sun can raise the temperature of the medium in the cylinder, resulting in a sudden increase in pressure within the cylinder, leaving the cylinder in a dangerous state. Some users do not take sun-shading measures in transportation, and the oxygen cylinder is exposed to the sun when the oxygen cylinder is used in summer. Particularly, the road temperature in summer often reaches more than 40 ℃, and if the gas cylinders have defects and are excessively filled or collide with each other, explosion accidents can occur.
In order to overcome the defects in the use of the oxygen cylinder in the prior art, the invention builds a safety protection mechanism for medical equipment.
The safety protection mechanism of the medical equipment according to the embodiment of the invention comprises:
and the pressure detection equipment is arranged on the oxygen cylinder and used for detecting the real-time pressure in the oxygen cylinder and sending a pressure alarm command when the real-time pressure exceeds the limit, or sending a normal pressure command.
Next, a detailed description of the structure of the safety guard mechanism for medical equipment according to the present invention will be further described.
In the medical device safety protection mechanism, the medical device safety protection mechanism further comprises: and the miniature imaging equipment is arranged above the oxygen cylinder and is used for performing imaging operation on the position of the oxygen cylinder so as to obtain an image around the oxygen cylinder.
In the medical device safety protection mechanism, the medical device safety protection mechanism further comprises: and the image traversing device is connected with the miniature imaging device and is used for receiving the images around the oxygen cylinder, performing non-overlapping traversing on the images around the oxygen cylinder by adopting a smooth window according to the sequence from left to right and from top to bottom to obtain corresponding traversing windows and outputting the traversing windows.
In the medical device safety protection mechanism, the medical device safety protection mechanism further comprises:
the particle acquisition equipment is connected with the image traversal equipment and used for receiving the traversal windows and performing the following particle confirmation actions on the traversal windows: obtaining the mean value of all brightness values of all pixel points in each traversal window to be used as a window mean value, carrying out deviation degree analysis on the window mean value and the overall brightness of the image around the oxygen cylinder, and when the deviation degree exceeds the limit, determining the traversal window to be a particle block;
the image dividing device is connected with the particle collecting device and used for forming a particle pattern in the oxygen cylinder periphery image based on each particle block output by the particle collecting device, and taking the image of the oxygen cylinder periphery image after the particle pattern is stripped as a non-particle pattern;
a differentiation processing device connected to the image dividing device, for receiving the grain pattern and the non-grain pattern, performing a low-pass filtering process on the grain pattern using a preset frequency threshold as a cutoff frequency to obtain a grain low-pass pattern, and further performing a low-pass filtering process on the non-grain pattern using one-half of the preset frequency threshold as the cutoff frequency to obtain a non-grain low-pass pattern, and outputting the grain low-pass pattern and the non-grain low-pass pattern;
the data fitting device is connected with the differentiation treatment device and used for receiving the particle low-pass pattern and the non-particle low-pass pattern and fitting the particle low-pass pattern and the non-particle low-pass pattern to obtain a fitted image corresponding to the image around the oxygen cylinder;
the signal analysis equipment is connected with the data fitting equipment and used for receiving the fitted image, extracting the characteristic quantity related to smoothing processing of the fitted image, inputting the extracted characteristic quantity into a data analysis model consisting of an input layer, an output layer and a plurality of hidden layers and carrying out data analysis on the characteristic quantity input by the input layer by layer, wherein the output layer is connected with the last hidden layer and used for outputting the result of data analysis of the last hidden layer, and the output quantity type of the output layer is a smoothing processing type;
the self-adaptive smoothing equipment is connected with the signal analysis equipment and is used for receiving the smoothing processing type and executing smoothing operation based on the smoothing processing type on the fitting image so as to obtain and output a smoothed image;
the amplitude measuring device is connected with the self-adaptive smoothing device and used for receiving the smoothed image, analyzing the amplitude of the noise in the smoothed image to obtain the maximum amplitude in the smoothed image, and determining the sizes of image segmentation blocks which are in direct proportion to the maximum amplitude based on the maximum amplitude to obtain all segmentation blocks with the same size;
the area selection device is connected with the amplitude measurement device and used for receiving the segmentation blocks with the same size and selecting four segmentation blocks positioned at four corner positions in the smoothed image from the segmentation blocks in the smoothed image as four corner segmentation blocks;
the regional identification equipment is respectively connected with the amplitude measurement equipment and the regional selection equipment and used for receiving the four segmentation blocks, acquiring the red component mean value of each corner segmentation block, calculating the mean value of the four red component mean values of the four corner image regions, outputting the acquired mean value as an integral component mean value, and acquiring the red component mean value of each corner segmentation block comprises: obtaining each red component value of each pixel point of each corner segmentation block, sequencing each red component value of each pixel point, and taking the red component value of a central serial number as a red component mean value of the corner segmentation block;
the command starting device is connected with the regional identification device and used for receiving the integral component mean value, sending a red component mean value lower command when the integral component mean value is smaller than a preset red component mean value, and sending a red component mean value higher command when the integral component mean value is larger than or equal to the preset red component mean value;
the brightness improving device is respectively connected with the partitioned area identification device and the command starting device, and is used for executing brightness value improving processing on the smoothed image to obtain an improved processed image when receiving the command of low red component mean value, and skipping the brightness value improving processing on the smoothed image when receiving the command of high red component mean value, and outputting the smoothed image as an improved processed image;
the first extraction device is connected with the brightness improvement device and used for receiving the improved image, extracting a corresponding human body region to be detected from the improved image based on a preset standard human body shape, respectively carrying out normalization processing on the human body region to be detected and the preset standard human body shape to obtain a first normalized image and a second normalized image, subtracting the first normalized image and the second normalized image to obtain a difference image, extracting the number of pixels with nonzero pixel values in the difference image, and outputting the extracted number as the number of difference pixels;
the second extraction equipment is connected with the first extraction equipment and used for receiving the difference pixel number, extracting the total number of pixels of the first normalized image, and sending a human body matching signal when the proportion of the difference pixel number occupying the total number of pixels is smaller than or equal to a preset proportion threshold value, or sending a human body unmatched signal;
the state switching equipment is connected with the oxygen cylinder and the second extraction equipment, and is used for controlling the oxygen cylinder to enter a use state when receiving the human body matching signal and controlling the oxygen cylinder to enter a stop state when receiving the human body unmatching signal;
wherein, in the state switching apparatus, a safeguard level of the oxygen cylinder in the use state is higher than a safeguard level of the oxygen cylinder in the deactivated state.
In the medical device safety protection mechanism: the amplitude measuring device, the region selecting device, the sub-region identifying device, the command starting device and the brightness improving device share the same quartz oscillator.
In the medical device safety protection mechanism: in the differentiation treatment device, performing a low-pass filtering treatment on the particle pattern using a preset frequency threshold as a cutoff frequency to obtain a particle low-pass pattern includes: and an image obtained by removing frequency components of the particle pattern, the frequency components being higher than or equal to the cutoff frequency, is used as the particle low-pass pattern, and the particle low-pass pattern is output.
In the medical device safety protection mechanism: in the differentiation treatment device, performing a low-pass filtering treatment on the non-particle pattern with half of a preset frequency threshold as a cutoff frequency to obtain a non-particle low-pass pattern includes: and an image obtained by removing frequency components of the non-particle pattern, the frequency components being higher than or equal to a cutoff frequency, is used as the particle non-low-pass pattern, and the particle non-low-pass pattern is output.
In the medical device safety protection mechanism: in the image traversal equipment, the traversal window is a square window, and the side length of the square window is in direct proportion to the signal-to-noise ratio of the image around the oxygen bottle.
In the medical device safety protection mechanism: in the particle collecting apparatus, the overall brightness of the image around the oxygen cylinder is obtained in the following mode: and obtaining all brightness values of all pixel points of the image around the oxygen bottle, and averaging all brightness values of all pixel points of the image around the oxygen bottle to obtain the overall brightness of the image around the oxygen bottle.
In the medical device safety protection mechanism: and in the particle collection equipment, when the deviation degree is not exceeded, confirming that the traversal window is a non-particle block.
In addition, the particle collection device is a CP L D chip, CP L D has the advantages of flexible programming, high integration level, short design and development period, wide application range, advanced development tools, low design and manufacturing cost, low requirement on hardware experience of designers, no need of testing standard products, strong confidentiality, high price popularization and the like, and can realize large-scale circuit design, so that the device is widely applied to prototype design and product production (generally less than 10,000 pieces) of products, CP L D devices can be applied to almost all occasions of small-scale universal digital integrated circuits in application, CP L D devices become indispensable components of electronic products, and the design and application of the device become a necessary skill for electronic engineers.
The CP L D is a digital integrated circuit whose logic function is built by user according to their needs, the basic design method is to generate corresponding target file by means of integrated development software platform and using principle diagram, hardware description language, etc. to transfer the code to target chip by means of download cable ("in-system" programming) to implement the designed digital system.
By adopting the medical equipment safety protection mechanism, aiming at the technical problem that the oxygen cylinder in the prior art is lack of an adaptive control mechanism, the pressure detection equipment is arranged on the oxygen cylinder and used for detecting the real-time pressure in the oxygen cylinder and sending a pressure alarm command when the real-time pressure exceeds the limit, otherwise, sending a normal pressure command; the state switching equipment is connected with the oxygen cylinder and the second extraction equipment, and is used for controlling the oxygen cylinder to enter a use state when receiving the human body matching signal and controlling the oxygen cylinder to enter a stop state when receiving the human body unmatching signal; in the state switching device, the oxygen cylinder in the use state has a higher safeguard level than the oxygen cylinder in the deactivated state; thereby solving the technical problem.
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.