WO2023093693A1 - Medical tool inspection method and system, computer device, and storage medium - Google Patents

Medical tool inspection method and system, computer device, and storage medium Download PDF

Info

Publication number
WO2023093693A1
WO2023093693A1 PCT/CN2022/133371 CN2022133371W WO2023093693A1 WO 2023093693 A1 WO2023093693 A1 WO 2023093693A1 CN 2022133371 W CN2022133371 W CN 2022133371W WO 2023093693 A1 WO2023093693 A1 WO 2023093693A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
detection
medical tool
performance parameter
fault
Prior art date
Application number
PCT/CN2022/133371
Other languages
French (fr)
Chinese (zh)
Inventor
黄凯
郭伟强
何超
Original Assignee
上海微觅医疗器械有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海微觅医疗器械有限公司 filed Critical 上海微觅医疗器械有限公司
Publication of WO2023093693A1 publication Critical patent/WO2023093693A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10068Endoscopic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection

Definitions

  • the present application relates to the technical field of medical devices, in particular to a medical tool detection method, system, computer equipment and storage medium.
  • the endoscope enters the human body through the natural orifice of the human body, or through a small incision made through surgery. When in use, the endoscope is introduced into the organ to be inspected, and the changes of the relevant parts can be directly observed.
  • endoscopes can only determine whether the endoscope has a malfunction based on the user's feeling. For example, when the user uses the endoscope, according to the pictures collected by the endoscope, he checks the pictures through human experience to determine whether the endoscope is malfunctioning. If the image stays on one interface, it may be artificially judged to be a collection failure or a network problem, and then check; if the image is blurred, it may be judged to be a lens contamination or a problem with the image sensor, and then check one by one, resulting in intelligent low level.
  • a medical tool detection method comprising:
  • the obtaining the image collected by the medical tool includes:
  • the said overall performance parameter detection of the image includes:
  • the results of the overall performance parameter detection of the output image include:
  • the results of the overall performance parameter detection of the output image include:
  • the method includes:
  • the control parameter is adjusted according to the adjustment instruction, and the adjusted control parameter is sent to the image acquisition component of the medical tool.
  • the medical tool before acquiring the image collected by the medical tool, it also includes:
  • the method also includes:
  • the stage information of the detection of the overall performance parameters of the image is output.
  • performing image overall performance parameter detection on the image includes at least one of the following:
  • the image uniformity detection includes: dividing the image into at least two image areas, and calculating the area index of each image area, and calculating the overall uniformity of the image according to the area index index;
  • the image distortion rate detection includes: calculating the restored image corresponding to the image, and obtaining the image center point, image boundary and restored image boundary, based on the image center point, image boundary and Restore the image boundary to calculate the image distortion rate;
  • the image signal-to-noise ratio detection includes: extracting a noise signal and an effective signal according to the image, and calculating an image signal-to-noise ratio according to the effective signal and the noise signal.
  • the fault detection according to the component status information includes:
  • the fault type is obtained
  • the output of the result of the fault detection includes:
  • the fault detection based on the component status information includes at least one of the following:
  • the communication anomaly detection includes at least one of error code detection, packet loss detection and timeout detection;
  • Performing temperature and humidity detection according to the component state information includes performing threshold judgment according to data collected by the temperature and humidity sensor;
  • the service life detection is performed according to the component state information, and the service life detection includes the service life detection of at least one of the endoscope plug-in interface, the internal Flash of the endoscope and the image host, the fan of the image host, and the power supply module.
  • a medical tool detection system comprising: a medical tool, an image processing host, a lighting source host, and a display; wherein, the image processing host and the lighting source host are respectively connected to the medical tool, and the display connected with the image processing host;
  • the medical tool is used to acquire images
  • the lighting source host is used to provide medical cold light source
  • the image processing host is used to execute the above medical tool detection method
  • the display is used for displaying the detection result of the overall performance parameter of the image and/or the fault detection result.
  • the image processing host is connected to the medical tool through an optical fiber, so as to acquire images collected by the medical tool.
  • the image processing host is connected to the medical tool through a serial port, so as to obtain component status information of the medical tool.
  • the display is connected to the image processing host through an HDMI cable, a DVI cable or a DP cable.
  • a computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned method are realized.
  • the above-mentioned medical tool detection method, device, computer equipment, and storage medium perform overall image performance parameter detection based on the image and/or perform fault detection based on component status information, and output the result of the overall image performance parameter detection and/or fault detection result, There is no need for manual judgment, so that medical tools can be detected at any time during or before use, and the overall performance parameters of the image can be detected and/or fault detection can be performed based on component status information to avoid medical tool failures. Inconvenient to use, thereby improving the level of intelligence.
  • FIG. 1 is a schematic diagram of a medical tool detection system in an embodiment of the present application.
  • FIG. 2 is a schematic diagram of data transmission of hardware devices in an embodiment of the present application.
  • FIG. 3 is a schematic diagram of various functional modules of the image processing host in an embodiment of the present application.
  • Fig. 4 is a schematic flowchart of a medical tool detection method in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of image uniformity detection in an embodiment of the present application.
  • FIG. 6 is a flow chart of distortion rate detection in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of distortion rate detection in an embodiment of the present application.
  • FIG. 8 is a flowchart of a method for detecting a signal-to-noise ratio in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a communication anomaly detection function in an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a temperature and humidity detection function in an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a service life detection function in an embodiment of the present application.
  • FIG. 12 is a schematic diagram of an overall image performance parameter detection process in an embodiment of the present application.
  • FIG. 13 is a schematic diagram of an overall image performance parameter detection process in another embodiment of the present application.
  • FIG. 14 is a schematic diagram of an overall image performance parameter detection process in still another embodiment of the present application.
  • FIG. 15 is a schematic diagram of a fault detection process in an embodiment of the present application.
  • FIG. 16 is a schematic diagram of a fault detection signal transmission process in an embodiment of the present application.
  • Fig. 17 is a schematic diagram of fault detection interaction in an embodiment of the present application.
  • FIG. 18 is an internal structure diagram of a computer device in an embodiment of the present application.
  • the medical tool detection method provided in this application can be applied to the medical tool detection system shown in FIG. 1 .
  • the medical tool detection system includes a medical tool 101 , an image processing host 103 , an illumination source host 102 and a display 104 .
  • the image processing host 103 and the illumination source host 102 are respectively connected to the medical tool 101 ; the display 104 is connected to the image processing host 103 .
  • the medical tool 101 is used to acquire images.
  • the medical tool 101 includes an image acquisition device and an illumination device; wherein the image acquisition device is used for acquiring images, and the illumination device is used for illuminating the target area.
  • the illuminating light source host 102 is used for providing a medical cold light source, for example, providing a medical cold light source in the abdominal cavity.
  • the image processing host 103 is used to execute the medical tool detection method hereinafter, mainly for acquiring images collected by the medical tool 101 and/or component status information, so as to perform image overall performance parameter detection and failure according to the image and/or component status information Detect, and send the detection result of the overall performance parameter of the image and/or the fault detection result to the display 104.
  • the display 104 is used for displaying the result of detection of overall performance parameters of the image and/or the result of fault detection.
  • FIG. 2 is a schematic diagram of hardware device data transmission in an embodiment.
  • the image processing host is connected to the medical tool through an optical fiber to obtain images collected by the medical tool; and/or the image
  • the processing host is connected with the medical tool through the serial port, so as to obtain the status information of the components of the medical tool.
  • the display is connected to the image processing host through an HDMI cable, a DVI cable or a DP cable.
  • the medical tool is an endoscope, in which the endoscope is connected to the image processing host through an optical fiber to transmit image signals; the status and control signals are transmitted to the image processing host through RS485 signals; the image processing host displays data through HDMI
  • the /DVI/DP cable is connected to the monitor to detect the overall performance parameters of the image and transmit the fault detection results.
  • the image processing host includes a main processor and state information acquisition modules of each sub-component, such as sub-component 1, sub-component 2 and sub-component 3 in the figure.
  • the state information acquisition module may also include other subcomponents, which are not specifically limited here.
  • the status information acquisition module of each sub-component is used to receive the status information of the sub-components, and send the status information of the sub-components to the main processor, wherein the main processor can be FPGA (Field Programmable Gate Array, Field Programmable Logic Gate Array ).
  • FIG. 3 is a schematic diagram of various functional modules of the image processing host in an embodiment.
  • the image processing host mainly includes an overall image performance parameter detection module, a status detection module, a control and failure analysis module, and a display interface module.
  • the overall image performance parameter detection module is used to detect the performance of the endoscope image, convert it into corresponding image performance parameters, and record it.
  • the state detection module is used to actively obtain the state of the relevant sub-components of the endoscope image system, and record the state.
  • the control and fault analysis module is used to control the power-on image self-inspection process and obtain image performance parameters, obtain the sub-component status information recorded by the status detection module in real time, analyze whether there is a fault, convert the analysis result into a fault code and record it; the display interface module is used To obtain image performance parameters and fault codes, and realize uploading and displaying image performance and fault codes.
  • a medical tool detection method is provided, which is described by taking the application of the method to the image processing host in FIG. 1 as an example, including the following steps:
  • the image refers to the image collected by the medical tool, which may refer to the first image collected by the medical tool after it is turned on, or the first image collected by the medical tool after it is turned on and moved to the target position; wherein
  • the first image here refers to the image collected after the medical tool is stabilized, not specifically the first image.
  • the component status information is the status information collected for each component in the medical tool, including but not limited to the functional parameters of the communication component, the temperature and humidity of each component, and the service life information of each component.
  • the image and component status information can be transmitted through different communication channels, for example, the image is transmitted through optical fiber, while the component status information is transmitted through serial communication.
  • S404 Perform overall image performance parameter detection on the image and/or perform fault detection based on component status information; wherein the overall image performance parameter detection is calculated based on parameters of a selected area of the image.
  • the overall performance parameter detection of the image is calculated based on parameters of a selected area of the image, where the selected area of the image is the entire image. In other embodiments, the selected area of the image can also be set as required, and is not limited to the entire image.
  • the overall performance parameter detection of the image is mainly to realize the self-inspection of the medical tool, so as to judge whether the image index of the medical tool meets the requirements. For example, after the medical tool is turned on, it will immediately run the image overall performance parameter detection function to determine whether the image indicators meet the requirements, and if it meets the requirements, it will output a prompt that meets the requirements.
  • the overall performance parameter detection of the image may be performed periodically or irregularly after the medical tool is turned on, so as to ensure that the image index of the medical tool always meets the requirements.
  • the fault detection of component status information can be performed after the detection of the overall performance parameters of the image, or in parallel with the detection of the overall performance parameters of the image. In some embodiments, the fault detection is performed after the overall performance parameter detection of the image is passed. Wherein, the fault detection may be to compare the extracted component state information with a standard threshold to determine whether each component is in a normal state.
  • performing image overall performance parameter detection on the image includes at least one of the following: performing image uniformity detection on the image, wherein the image uniformity detection includes: dividing the image into at least two image regions, and calculating the region index of each image region , calculate the overall uniformity index of the image according to the area index; detect the image distortion rate of the image, and the image distortion rate detection includes: calculate the restored image corresponding to the image, and obtain the image center point, image boundary and restored image boundary, based on the image center Points, image boundaries, and restored image boundaries are calculated to obtain the image distortion rate; image signal-to-noise ratio detection is performed on the image, and the image signal-to-noise ratio detection includes: extracting noise signals and effective signals according to the image, and calculating image information based on the effective signals and noise signals noise ratio.
  • the overall performance parameter detection of the image may be to use a self-built algorithm to process the image to obtain corresponding image performance parameters.
  • Performance parameters include, but are not limited to, color, dynamic range, signal-to-noise ratio, brightness, distortion rate, sharpness, and contrast.
  • the image uniformity detection can be detected using the average variance method. Specifically, the image is evenly divided into several image regions, for example, a 1920x1080 resolution image is divided into 48x27 (40x40) image regions, and the average variance is calculated to obtain parameters related to image uniformity. Specifically, the following formula can be used for calculation:
  • x 1 , x 2 , x 3 , ... x (n-1) , x n is the mean value of the image area, and x is the mean value of the whole image.
  • the image uniformity detection may also be calculated using other existing methods, which is not limited in the present application.
  • FIG. 6 is a flow chart of distortion rate detection
  • FIG. 7 is a schematic diagram of distortion rate detection.
  • the image processing host can obtain the coordinates of point A (image center point), point B (distorted image boundary), and point C (restored image boundary), assuming that they are (Xa, Ya), (Xb, Yb), ( Xc, Yc).
  • point B is obtained through image boundary detection calculation
  • point C is obtained through distortion restoration calculation
  • the distortion rate ( ⁇ y/y) ⁇ 100%, where y is the distance between the boundary point of the restored image and the center point of the image, and ⁇ y is the distance between the boundary point of the restored image and the boundary point of the distorted image.
  • FIG. 8 is a flow chart of a method for detecting SNR in one embodiment.
  • performing fault detection according to component state information includes at least one of the following: performing communication anomaly detection according to component state information, where communication anomaly detection includes at least one of error code detection, packet loss detection, and timeout detection; Status information for temperature and humidity detection, where temperature and humidity detection includes threshold judgment based on data collected by temperature and humidity sensors; service life detection based on component status information, where service life detection includes endoscope plug-in interface, endoscope and image host The service life detection of at least one of the internal Flash, the image host fan and the power supply module.
  • FIG. 9 is a schematic diagram of a communication anomaly detection function in an embodiment.
  • each sub-component records the communication status in real time during normal operation, and the communication anomaly detection module performs Error detection, packet loss detection and timeout detection; error detection uses CRC (cyclic redundancy check code verification method); packet loss detection uses packet sequence encoding.
  • CRC cyclic redundancy check code verification method
  • FIG. 10 is a schematic diagram of the temperature and humidity detection function in one embodiment.
  • a plurality of temperature and humidity sensors are used, and the measurement data is averaged to avoid detection errors;
  • Humidity sensors can be arranged around the image sensor of the endoscope, around the photoelectric conversion chip, and around the image processing chip of the image host; when the temperature and humidity measurement data exceeds the threshold, the fault alarm information is recorded.
  • FIG. 11 is a schematic diagram of the service life detection function in one embodiment.
  • the components related to service life detection include endoscope plug-in interface, endoscope and The internal Flash of the image host, the fan of the image host, the power supply module, etc.; when the service life exceeds the threshold, the fault alarm information is recorded, and the service life can be expressed by the use time and/or the number of uses, so the image processing host is used in medical tools. , you can record the usage time and/or the number of usage times, so as to facilitate the judgment of the subsequent service life.
  • S406 Output the detection result of the overall image performance parameter and/or the fault detection result.
  • the image processing host may output the detection result of the overall image performance parameter and/or the fault detection result after calculating and obtaining the detection result of the overall image performance parameter and/or the result of the fault detection.
  • the image processing host outputs the detection result of the overall performance parameter of the image and/or the fault detection result to a display, an indicator light or a buzzer and the like.
  • the above-mentioned medical tool detection method detects the overall performance parameters of the image and/or performs fault detection according to the component status information according to the image, and outputs the result of the overall performance parameter detection of the image and/or the result of the fault detection, which does not require manual judgment, so The level of intelligence has been improved.
  • acquiring the image collected by the medical tool includes: acquiring the image collected by the medical tool after the medical tool is turned on. Detecting the overall performance parameters of the image, including: analyzing the quality of the image to obtain the image index; when the image index does not meet the preset requirements, generating information that the overall performance parameter detection of the image fails; otherwise generating information that the overall performance parameter detection of the image is successful .
  • the medical tool detection method before obtaining the image collected by the medical tool, the medical tool detection method further includes: judging whether the medical tool collects the image normally; when the medical tool normally collects the image, continue to obtain the image collected by the medical tool; When the image cannot be collected, the prompt message of image collection failure will be output.
  • FIG. 12 is a schematic diagram of an overall image performance parameter detection process in one embodiment.
  • the medical tool after the medical tool is turned on, it is judged whether the medical tool is normally collecting images. When the tool fails to capture an image, it outputs a prompt message of image capture failure, for example, to a display, so that the display actively prompts the user.
  • the medical tool collects images normally, run the overall performance parameter detection function of the image to analyze the quality of the image to obtain image indicators, and judge whether the image indicators meet the preset requirements. If the relevant image indicators do not meet the preset requirements, the display will list the specific Unqualified items; when all the image indicators are met, the display will list the relevant parameters one by one.
  • outputting the result of the detection of the overall performance parameters of the image includes: obtaining image indicators that do not meet the requirements according to the information that the detection of the overall performance parameters of the image fails, and outputting the image indicators that do not meet the requirements and/or outputting alarm information; or Acquire all image indexes according to the successful detection information of the overall image performance parameters, and output the obtained image indexes.
  • the medical tool detection method includes: receiving an adjustment instruction of the control parameter corresponding to the image index; adjusting the control parameter according to the adjustment instruction, and sending the adjusted control parameter to Image acquisition components to medical tools.
  • FIG. 13 is a schematic diagram of an overall image performance parameter detection process in another embodiment.
  • the overall image performance parameter detection module acquires images collected by medical tools data, and then process the image data to obtain image performance parameters, and send the image performance parameters to the image analysis and control module, and the image analysis and control module sends the detection results of the overall performance parameters of the image to the display, such as displaying in the display device.
  • the image analysis and control module can also calculate the image sensor control information according to the image performance parameters, and send the image sensor parameters to the image sensor through the image sensor control module, so as to adjust the image quality.
  • the medical tool detection method further includes: when detecting the overall performance parameters of the image, outputting phase information of the overall performance parameter detection of the image.
  • FIG. 14 is a schematic diagram of the overall image performance parameter detection process in another embodiment.
  • the display device displays Prompt "Start image self-inspection"; when the medical tool is in the state of image self-inspection, it will display that the medical tool is in a specific link of image self-inspection, for example: “Signal-to-noise ratio test", "Image uniformity test in progress”, etc.
  • the image self-inspection is completed, the indicators are qualified, and the display device displays the image parameters; the image self-inspection is completed, the indicators are unqualified, the display device displays the unqualified image index parameters, and alarm prompts can be given through the display device, lights, and sounds.
  • performing fault detection according to the component state information includes: analyzing in real time according to the component state information to obtain a fault type; obtaining a fault code corresponding to the fault type; outputting the fault detection result includes: outputting a fault code.
  • FIG. 15 is a schematic diagram of a fault detection process in an embodiment
  • FIG. 16 is a schematic diagram of a fault detection signal transmission process in an embodiment
  • FIG. 17 is a fault detection in an embodiment Interaction diagram.
  • the power-on image self-inspection After the power-on image self-inspection is completed, it enters the real-time fault detection state; when the state of the relevant sub-components is abnormal, the state information is comprehensively fed back, and the fault type is analyzed; finally, the fault type is displayed on the display device in the form of a fault code.
  • the detected component transmits the recorded status information to the status detection module in real time; when the relevant sub-components are abnormal, the status detection module sends the integrated status information to the fault analysis module in the form of fault information, and finally the fault The analysis module displays the fault type on the device display in the form of fault codes.
  • the image processing host enters the real-time fault detection state after completing the image self-test; when the component is abnormal, it analyzes the fault type and displays the fault code on the display device, for example: Error Code: 0x01: abnormal image channel ;0x02: abnormal command control channel; 0x03: abnormal high temperature; 0x04: abnormal high humidity; and 0x05: abnormal service life.
  • Error Code 0x01: abnormal image channel ;0x02: abnormal command control channel; 0x03: abnormal high temperature; 0x04: abnormal high humidity; and 0x05: abnormal service life.
  • it may be other fault codes, which are not specifically limited here.
  • the present application provides a computer device, which may be a terminal, and its internal structure may be as shown in FIG. 18 .
  • the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus.
  • the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and computer programs.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, an operator network, NFC (Near Field Communication) or other technologies.
  • a medical tool detection method is realized.
  • the display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the computer device , and can also be an external keyboard, touchpad, or mouse.
  • Figure 18 is only a block diagram of a partial structure related to the solution of this application, and does not constitute a limitation to the computer equipment on which the solution of this application is applied.
  • the specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
  • the present application also provides a computer device, including a memory and a processor, a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: acquiring images and/or components collected by medical tools State information; perform image overall performance parameter detection on the image and/or perform fault detection based on component state information, the overall image performance parameter detection is calculated based on parameters in a selected area of the image; output the result of the image overall performance parameter detection and/or or the result of fault detection.
  • the step of acquiring the image collected by the medical tool includes: after the medical tool is powered on, acquiring the image collected by the medical tool.
  • the steps of detecting the overall image performance parameters of the image include: performing quality analysis on the image to obtain image indicators; when the image indicators do not meet the preset requirements, generating information indicating that the overall image performance parameters have failed to be detected; Otherwise, information indicating that the detection of the overall performance parameter of the image is successful is generated.
  • the step of outputting the result of the detection of the overall performance parameter of the image includes: obtaining the image index that does not meet the requirements according to the information that the detection of the overall performance parameter of the image fails, and outputting the result of the detection that does not meet the requirements Image indicators and/or output alarm information; or obtain all image indicators according to the successful detection information of the overall performance parameters of the image, and output the obtained image indicators.
  • the following steps are also implemented: receiving an adjustment instruction of the control parameter corresponding to the image index; adjusting the control parameter according to the adjustment instruction, and The adjusted control parameters are sent to the image acquisition part of the medical tool.
  • the following steps are further implemented: judging whether the medical tool normally collects the image; when the medical tool normally collects the image, continue to obtain the image collected by the medical tool Image; when the medical tool fails to collect an image, output a prompt message of image collection failure.
  • the processor executes the computer program, the following steps are further implemented: when detecting the overall performance parameters of the image, output stage information of the overall image performance parameter detection.
  • the overall image performance parameter detection of the image includes at least one of the following: performing image uniformity detection on the image, wherein the image uniformity detection includes: dividing the image into at least Two image areas, and calculate the area index of each image area, and calculate the overall uniformity index of the image according to the area index; perform image distortion rate detection on the image, wherein the image distortion rate detection includes: calculate the restored image corresponding to the image, and obtain the image Center point, image boundary and restored image boundary, calculate the image distortion rate based on the image center point, image boundary and restored image boundary; perform image signal-to-noise ratio detection on the image, wherein the image signal-to-noise ratio detection includes: extracting noise signals and Effective signal, the signal-to-noise ratio of the image is calculated according to the effective signal and the noise signal.
  • the step of performing fault detection according to the component state information includes: analyzing and obtaining the fault type according to the component state information in real time; obtaining the fault code corresponding to the fault type; wherein the result of the fault detection is
  • the output includes: output fault code.
  • the fault detection according to the component state information includes at least one of the following: performing communication abnormality detection according to the component state information, and the communication abnormality detection includes bit error detection, packet loss detection and At least one of overtime detection; temperature and humidity detection based on component state information, temperature and humidity detection includes threshold judgment based on data collected by temperature and humidity sensors; service life detection based on component state information, service life detection includes endoscope plug-in interface , the endoscope and the internal Flash of the image host, the fan of the image host and the service life detection of at least one of the power supply modules.
  • the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: acquiring images collected by medical tools and/or component status information; Perform image overall performance parameter detection on the image and/or perform fault detection based on component status information. The image overall performance parameter detection is calculated based on the parameters of the selected area of the image; output the result of image overall performance parameter detection and/or fault detection the result of.
  • the step of acquiring the image collected by the medical tool includes: acquiring the image collected by the medical tool after the medical tool is turned on.
  • the steps of detecting the overall image performance parameters of the image include: performing quality analysis on the image to obtain image indicators; when the image indicators do not meet the preset requirements, generating information indicating that the overall image performance parameters have failed to be detected; Otherwise, information indicating that the detection of the overall performance parameter of the image is successful is generated.
  • the step of outputting the result of the overall performance parameter detection of the image includes: obtaining the image index that does not meet the requirements according to the information that the overall performance parameter detection of the image fails, and outputting the unsatisfied requirements image indicators and/or output alarm information; or obtain all image indicators according to the successful detection information of the overall performance parameters of the image, and output the obtained image indicators.
  • the following steps are also implemented: receiving an adjustment instruction of the control parameter corresponding to the image index; adjusting the control parameter according to the adjustment instruction, and The adjusted control parameters are sent to an image acquisition component of the medical tool.
  • the following steps are further implemented: judging whether the medical tool normally collects the image; when the medical tool normally collects the image, continue to obtain the image collected by the medical tool image; when the medical tool fails to collect the image, output a prompt message of image collection failure.
  • the following steps are further implemented: when detecting the overall performance parameters of the image, output stage information of the detection of the overall image performance parameters.
  • the step of detecting the overall image performance parameters of the image includes at least one of the following: performing image uniformity detection on the image, and the image uniformity detection includes: dividing the image into At least two image areas, and calculate the area index of each image area, and calculate the overall uniformity index of the image according to the area index; detect the image distortion rate of the image, and the image distortion rate detection includes: calculating the restored image corresponding to the image, and obtaining the image Center point, image boundary and restored image boundary, calculate the image distortion rate based on the image center point, image boundary and restored image boundary; perform image signal-to-noise ratio detection on the image, image signal-to-noise ratio detection includes: extract noise signal and effective Signal, the signal-to-noise ratio of the image is calculated according to the effective signal and the noise signal.
  • the step of performing fault detection according to the component state information includes: analyzing and obtaining the fault type according to the component state information in real time; obtaining the fault code corresponding to the fault type;
  • the output includes: output fault code.
  • the step of performing fault detection according to the component state information includes at least one of the following: performing communication anomaly detection according to the component state information, and the communication anomaly detection includes bit error detection, packet loss At least one of detection and overtime detection; temperature and humidity detection according to component state information, temperature and humidity detection includes threshold judgment based on data collected by temperature and humidity sensors; service life detection according to component state information, service life detection includes endoscope insertion The service life detection of at least one of the plug-in interface, the endoscope, the internal Flash of the image host, the fan of the image host and the power supply module.
  • any references to memory, storage, database or other media used in the various embodiments provided in the present application may include at least one of non-volatile memory and volatile memory.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory or optical memory, etc.
  • Volatile memory can include Random Access Memory (RAM) or external cache memory.
  • RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The present application relates to a medical tool inspection method and system, a computer device, and a storage medium. The method comprises: acquiring image and/or component state information collected by a medical tool; performing image overall performance parameter measurement on the image and/or performing fault detection according to the component state information, the image overall performance parameter measurement being obtained by calculation according to parameters of a selected area of the image; and outputting an image overall performance parameter measurement result and/or a fault detection result. By using the method, the intelligence level can be improved.

Description

医疗工具检测方法、系统、计算机设备和存储介质Medical tool detection method, system, computer equipment and storage medium
相关申请related application
本申请要求2021年11月23日申请的,申请号为202111393059.8,名称为“医疗工具检测方法、系统、计算机设备和存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。This application claims the priority of the Chinese patent application filed on November 23, 2021, with application number 202111393059.8, entitled "medical tool detection method, system, computer equipment and storage medium", which is hereby incorporated by reference in its entirety.
技术领域technical field
本申请涉及医疗器械技术领域,尤其涉及一种医疗工具检测方法、系统、计算机设备和存储介质。The present application relates to the technical field of medical devices, in particular to a medical tool detection method, system, computer equipment and storage medium.
背景技术Background technique
内窥镜是经人体的天然孔道,或者是经手术做的小切口进入人体内。使用时将内窥镜导入待检查的器官,可直接窥视有关部位的变化。The endoscope enters the human body through the natural orifice of the human body, or through a small incision made through surgery. When in use, the endoscope is introduced into the organ to be inspected, and the changes of the relevant parts can be directly observed.
内窥镜图像质量的好坏以及是否高效安全运行直接影响着内窥镜的使用效果,也标志着内窥镜技术的发展水平。因此内窥镜图像质量的客观评价及实时故障告警,对产品安全性起着重要作用。The quality of the endoscope image and whether it operates efficiently and safely directly affects the use effect of the endoscope, and also marks the development level of the endoscope technology. Therefore, the objective evaluation of endoscope image quality and real-time fault alarm play an important role in product safety.
然而,目前的内窥镜仅能根据用户的感觉来确定内窥镜是否存在故障。例如,用户在使用内窥镜的时候,根据内窥镜所采集的图片,通过人为的经验来查看图片,以判断内窥镜是否出现故障。如图像一直停留在一个界面,则可能人为判定采集故障或者是网络问题,然后进行排查;如图像模糊,则可能判定是镜头污染或者是图像传感器的问题,然后再进行一一排查,导致智能化水平较低。However, current endoscopes can only determine whether the endoscope has a malfunction based on the user's feeling. For example, when the user uses the endoscope, according to the pictures collected by the endoscope, he checks the pictures through human experience to determine whether the endoscope is malfunctioning. If the image stays on one interface, it may be artificially judged to be a collection failure or a network problem, and then check; if the image is blurred, it may be judged to be a lens contamination or a problem with the image sensor, and then check one by one, resulting in intelligent low level.
发明内容Contents of the invention
基于此,有必要针对上述技术问题,提供一种能够提高智能化水平的医疗工具检测方法、系统、计算机设备和存储介质。Based on this, it is necessary to provide a medical tool detection method, system, computer equipment and storage medium that can improve the level of intelligence in order to address the above technical problems.
一种医疗工具检测方法,所述方法包括:A medical tool detection method, said method comprising:
获取所述医疗工具采集的图像和/或部件状态信息;Obtaining images and/or component status information collected by the medical tool;
对所述图像进行图像整体性能参数检测和/或根据所述部件状态信息进行故障检测;所述图像整体性能参数检测是根据所述图像的选定区域的参数计算得到的;Perform image overall performance parameter detection on the image and/or perform fault detection based on the component status information; the image overall performance parameter detection is calculated based on parameters of a selected area of the image;
输出图像整体性能参数检测的结果和/或故障检测的结果。Outputting the detection result of the overall performance parameter of the image and/or the result of the fault detection.
在其中一个实施例中,所述获取所述医疗工具采集的图像包括:In one of the embodiments, the obtaining the image collected by the medical tool includes:
在所述医疗工具开机后,获取所述医疗工具采集的图像;After the medical tool is turned on, acquire an image collected by the medical tool;
所述对所述图像进行图像整体性能参数检测,包括:The said overall performance parameter detection of the image includes:
对所述图像进行质量分析得到图像指标;Performing quality analysis on the image to obtain an image index;
当所述图像指标不满足预设要求时,生成图像整体性能参数检测失败的信息;否则生成图像整体性能参数检测成功的信息。When the image index does not meet the preset requirements, generate information indicating that the detection of the overall image performance parameter fails; otherwise, generate information indicating that the detection of the overall image performance parameter succeeds.
在其中一个实施例中,所述输出图像整体性能参数检测的结果包括:In one of the embodiments, the results of the overall performance parameter detection of the output image include:
根据图像整体性能参数检测失败的信息获取不满足要求的图像指标,并输出不满足要求的图像指标和/或输出报警信息。Obtain the unsatisfied image index according to the failure information of the overall image performance parameter detection, and output the unsatisfied image index and/or output the alarm information.
在其中一个实施例中,所述输出图像整体性能参数检测的结果包括:In one of the embodiments, the results of the overall performance parameter detection of the output image include:
根据图像整体性能参数检测成功的信息获取所有的图像指标,并输出所获取的图像指标。Acquire all image indexes according to the successful detection information of the overall image performance parameters, and output the obtained image indexes.
在其中一个实施例中,所述输出不满足要求的图像指标之后,所述方法包括:In one of the embodiments, after the image index that does not meet the requirements is output, the method includes:
接收与所述图像指标对应的控制参数的调整指令;receiving an adjustment instruction of a control parameter corresponding to the image index;
根据所述调整指令调整所述控制参数,并将调整后的所述控制参数发送至所述医疗工具的图像采集部件。The control parameter is adjusted according to the adjustment instruction, and the adjusted control parameter is sent to the image acquisition component of the medical tool.
在其中一个实施例中,所述获取所述医疗工具采集的图像之前,还包括:In one of the embodiments, before acquiring the image collected by the medical tool, it also includes:
判断所述医疗工具是否正常采集图像;judging whether the medical tool is collecting images normally;
当所述医疗工具正常采集图像时,继续获取所述医疗工具采集的图像;When the medical tool normally collects images, continue to acquire the images collected by the medical tool;
当所述医疗工具无法采集图像时,输出图像采集失败的提示信息。When the medical tool fails to capture an image, output a prompt message that the image capture fails.
在其中一个实施例中,所述方法还包括:In one embodiment, the method also includes:
在进行图像整体性能参数检测时,输出图像整体性能参数检测的阶段信息。During the detection of the overall performance parameters of the image, the stage information of the detection of the overall performance parameters of the image is output.
在其中一个实施例中,对所述图像进行图像整体性能参数检测包括以下至少一种:In one of the embodiments, performing image overall performance parameter detection on the image includes at least one of the following:
对所述图像进行图像均匀性检测,所述图像均匀性检测包括:将所述图像分为至少两个图像区域,并计算各个图像区域的区域指标,根据所述区域指标计算得到图像整体均匀性指标;Performing image uniformity detection on the image, the image uniformity detection includes: dividing the image into at least two image areas, and calculating the area index of each image area, and calculating the overall uniformity of the image according to the area index index;
对所述图像进行图像畸变率检测,所述图像畸变率检测包括:计算所述图像对应的还原图像,并获取图像中心点、图像边界以及还原图像边界,基于所述图像中心点、图像边界以及还原图像边界计算得到图像畸变率;Performing image distortion rate detection on the image, the image distortion rate detection includes: calculating the restored image corresponding to the image, and obtaining the image center point, image boundary and restored image boundary, based on the image center point, image boundary and Restore the image boundary to calculate the image distortion rate;
对所述图像进行图像信噪比检测,所述图像信噪比检测包括:根据所述图像提取噪声信号和有效信号,根据所述有效信号和所述噪声信号计算得到图像信噪比。Performing image signal-to-noise ratio detection on the image, the image signal-to-noise ratio detection includes: extracting a noise signal and an effective signal according to the image, and calculating an image signal-to-noise ratio according to the effective signal and the noise signal.
在其中一个实施例中,所述根据所述部件状态信息进行故障检测,包括:In one of the embodiments, the fault detection according to the component status information includes:
根据所述部件状态信息实时分析得到故障类型;According to the real-time analysis of the component status information, the fault type is obtained;
获取所述故障类型对应的故障码;Obtain the fault code corresponding to the fault type;
所述故障检测的结果的输出包括:The output of the result of the fault detection includes:
输出所述故障码。Output the fault code.
在其中一个实施例中,所述根据所述部件状态信息进行故障检测包括以下至少一种:In one of the embodiments, the fault detection based on the component status information includes at least one of the following:
根据所述部件状态信息进行通讯异常检测,所述通讯异常检测包括误码检测、丢包检测及超时检测中的至少一个;Perform communication anomaly detection according to the component state information, and the communication anomaly detection includes at least one of error code detection, packet loss detection and timeout detection;
根据所述部件状态信息进行温湿度检测,所述温湿度检测包括根据温湿度传感器采集的数据进行阈值判断;Performing temperature and humidity detection according to the component state information, the temperature and humidity detection includes performing threshold judgment according to data collected by the temperature and humidity sensor;
根据所述部件状态信息进行使用寿命检测,所述使用寿命检测包括内窥镜插拔接口、内窥镜及图像主机内部Flash、图像主机风扇以及电源模块中的至少一个的使用寿命检测。The service life detection is performed according to the component state information, and the service life detection includes the service life detection of at least one of the endoscope plug-in interface, the internal Flash of the endoscope and the image host, the fan of the image host, and the power supply module.
一种医疗工具检测系统,所述系统包括:医疗工具、图像处理主机、照明光源主机以及显示器;其中,所述图像处理主机以及所述照明光源主机分别与所述医疗工具相连接,所述显示器与所述图像处理主机相连接;A medical tool detection system, the system comprising: a medical tool, an image processing host, a lighting source host, and a display; wherein, the image processing host and the lighting source host are respectively connected to the medical tool, and the display connected with the image processing host;
所述医疗工具用于采集图像;the medical tool is used to acquire images;
所述照明光源主机用于提供医用冷光源;The lighting source host is used to provide medical cold light source;
所述图像处理主机用于执行上述的医疗工具检测方法;The image processing host is used to execute the above medical tool detection method;
所述显示器用于显示所述图像整体性能参数检测的结果和/或故障检测的结果。The display is used for displaying the detection result of the overall performance parameter of the image and/or the fault detection result.
在其中一个实施例中,所述图像处理主机通过光纤与所述医疗工具相连接,以获取所述医疗工具采集的图像。In one of the embodiments, the image processing host is connected to the medical tool through an optical fiber, so as to acquire images collected by the medical tool.
在其中一个实施例中,所述图像处理主机通过串口与所述医疗工具相连接,以获取所述医疗工具的部件状态信息。In one of the embodiments, the image processing host is connected to the medical tool through a serial port, so as to obtain component status information of the medical tool.
在其中一个实施例中,所述显示器通过HDMI线缆、DVI线缆或DP线缆与所述图像处理主机相连接。In one of the embodiments, the display is connected to the image processing host through an HDMI cable, a DVI cable or a DP cable.
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述的方法的步骤。A computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述的方法的步骤。A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned method are realized.
上述医疗工具检测方法、装置、计算机设备和存储介质,根据图像进行图像整体性能参数检测和/或根据部件状态信息进行故障检测,并输出图像整体性能参数检测的结果和/或故障检测的结果,不需要人工来进行判断,这样在医疗工具的使用过程中或者使用之前,可以随时对医疗工具进行检测,且进行图像整体性能参数检测和/或根据部件状态信息进行故障检测,避免医疗工具故障所带来的使用不便,由此提高了智能化水平。The above-mentioned medical tool detection method, device, computer equipment, and storage medium perform overall image performance parameter detection based on the image and/or perform fault detection based on component status information, and output the result of the overall image performance parameter detection and/or fault detection result, There is no need for manual judgment, so that medical tools can be detected at any time during or before use, and the overall performance parameters of the image can be detected and/or fault detection can be performed based on component status information to avoid medical tool failures. Inconvenient to use, thereby improving the level of intelligence.
附图说明Description of drawings
为了更清楚地说明本申请实施例或传统技术中的技术方案,下面将对实施例或传统技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据公开的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or the traditional technology. Obviously, the accompanying drawings in the following description are only the present invention For the embodiments of the application, those skilled in the art can also obtain other drawings based on the disclosed drawings without creative effort.
图1为本申请一实施例中医疗工具检测系统的示意图。FIG. 1 is a schematic diagram of a medical tool detection system in an embodiment of the present application.
图2为本申请一实施例中硬件设备数据传递示意图。FIG. 2 is a schematic diagram of data transmission of hardware devices in an embodiment of the present application.
图3为本申请一实施例中的图像处理主机的各个功能模块的示意图。FIG. 3 is a schematic diagram of various functional modules of the image processing host in an embodiment of the present application.
图4为本申请一实施例中医疗工具检测方法的流程示意图。Fig. 4 is a schematic flowchart of a medical tool detection method in an embodiment of the present application.
图5为本申请一实施例中的图像均匀性检测的示意图。FIG. 5 is a schematic diagram of image uniformity detection in an embodiment of the present application.
图6为本申请一实施例中畸变率检测的流程图。FIG. 6 is a flow chart of distortion rate detection in an embodiment of the present application.
图7为本申请一实施例中的畸变率检测的示意图。FIG. 7 is a schematic diagram of distortion rate detection in an embodiment of the present application.
图8为本申请一实施例中的信噪比检测方法的流程图。FIG. 8 is a flowchart of a method for detecting a signal-to-noise ratio in an embodiment of the present application.
图9为本申请一实施例中的通讯异常检测功能示意图。FIG. 9 is a schematic diagram of a communication anomaly detection function in an embodiment of the present application.
图10为本申请一实施例中的温湿度检测功能示意图。FIG. 10 is a schematic diagram of a temperature and humidity detection function in an embodiment of the present application.
图11为本申请一实施例中的使用寿命检测功能示意图。FIG. 11 is a schematic diagram of a service life detection function in an embodiment of the present application.
图12为本申请一实施例中的图像整体性能参数检测流程的示意图。FIG. 12 is a schematic diagram of an overall image performance parameter detection process in an embodiment of the present application.
图13为本申请另一实施例中的图像整体性能参数检测流程的示意图。FIG. 13 is a schematic diagram of an overall image performance parameter detection process in another embodiment of the present application.
图14为本申请再一实施例中的图像整体性能参数检测流程的示意图。FIG. 14 is a schematic diagram of an overall image performance parameter detection process in still another embodiment of the present application.
图15为本申请一实施例中的故障检测流程的示意图。FIG. 15 is a schematic diagram of a fault detection process in an embodiment of the present application.
图16为本申请一实施例中的故障检测信号传递流程示意图。FIG. 16 is a schematic diagram of a fault detection signal transmission process in an embodiment of the present application.
图17为本申请一实施例中故障检测交互示意图。Fig. 17 is a schematic diagram of fault detection interaction in an embodiment of the present application.
图18为本申请一实施例中计算机设备的内部结构图。FIG. 18 is an internal structure diagram of a computer device in an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
本申请提供的医疗工具检测方法,可以应用于如图1所示的医疗工具检测系统中。其中该医疗工具检测系统包括医疗工具101、图像处理主机103、照明光源主机102以及显示器104。图像处理主机103以及照明光源主机102分别与医疗工具101相连接;显示器104与图像处理主机103相连接。The medical tool detection method provided in this application can be applied to the medical tool detection system shown in FIG. 1 . The medical tool detection system includes a medical tool 101 , an image processing host 103 , an illumination source host 102 and a display 104 . The image processing host 103 and the illumination source host 102 are respectively connected to the medical tool 101 ; the display 104 is connected to the image processing host 103 .
医疗工具101用于采集图像。例如医疗工具101包括图像获取器件和照明器件;其中图像获取器件用于采集图像,照明器件用于对目标区域进行照明。The medical tool 101 is used to acquire images. For example, the medical tool 101 includes an image acquisition device and an illumination device; wherein the image acquisition device is used for acquiring images, and the illumination device is used for illuminating the target area.
照明光源主机102用于提供医用冷光源,例如在腹腔内提供医用冷光源。The illuminating light source host 102 is used for providing a medical cold light source, for example, providing a medical cold light source in the abdominal cavity.
图像处理主机103用于执行下文中的医疗工具检测方法,主要是用于获取医疗工具101采集的图像和/或部件状态信息,以根据图像和/或部件状态信息进行图像整体性能参数检 测和故障检测,并将图像整体性能参数检测结果和/或故障检测结果发送给显示器104。The image processing host 103 is used to execute the medical tool detection method hereinafter, mainly for acquiring images collected by the medical tool 101 and/or component status information, so as to perform image overall performance parameter detection and failure according to the image and/or component status information Detect, and send the detection result of the overall performance parameter of the image and/or the fault detection result to the display 104.
显示器104用于显示图像整体性能参数检测的结果和/或故障检测的结果。The display 104 is used for displaying the result of detection of overall performance parameters of the image and/or the result of fault detection.
其中,结合图2所示,图2为一个实施例中硬件设备数据传递示意图,在该实施例中,图像处理主机通过光纤与医疗工具相连接,以获取医疗工具采集的图像;和/或图像处理主机通过串口与医疗工具相连接,以获取医疗工具的部件状态信息。此外,显示器通过HDMI线缆、DVI线缆或DP线缆与图像处理主机相连接。Wherein, as shown in FIG. 2, FIG. 2 is a schematic diagram of hardware device data transmission in an embodiment. In this embodiment, the image processing host is connected to the medical tool through an optical fiber to obtain images collected by the medical tool; and/or the image The processing host is connected with the medical tool through the serial port, so as to obtain the status information of the components of the medical tool. In addition, the display is connected to the image processing host through an HDMI cable, a DVI cable or a DP cable.
在实际应用中医疗工具为内窥镜,其中内窥镜通过光纤与图像处理主机连接,进行图像信号传递;状态及控制信号通过RS485信号与图像处理主机进行信号传递;图像处理主机显示数据通过HDMI/DVI/DP线缆与显示器连接,进行图像整体性能参数检测及故障检测结果传递。In practical applications, the medical tool is an endoscope, in which the endoscope is connected to the image processing host through an optical fiber to transmit image signals; the status and control signals are transmitted to the image processing host through RS485 signals; the image processing host displays data through HDMI The /DVI/DP cable is connected to the monitor to detect the overall performance parameters of the image and transmit the fault detection results.
其中,图像处理主机包括主处理器和各个子部件的状态信息获取模块,如图中的子部件1、子部件2以及子部件3。在其他的实施例中,状态信息获取模块还可以包括其他的子部件,在此不做具体的限定。其中各个子部件的状态信息获取模块用于接收子部件的状态信息,并将子部件的状态信息发送至主处理器,其中主处理器可以是FPGA(Field Programmable Gate Array,现场可编程逻辑门阵列)。Wherein, the image processing host includes a main processor and state information acquisition modules of each sub-component, such as sub-component 1, sub-component 2 and sub-component 3 in the figure. In other embodiments, the state information acquisition module may also include other subcomponents, which are not specifically limited here. The status information acquisition module of each sub-component is used to receive the status information of the sub-components, and send the status information of the sub-components to the main processor, wherein the main processor can be FPGA (Field Programmable Gate Array, Field Programmable Logic Gate Array ).
结合图3所示,图3为一个实施例中的图像处理主机的各个功能模块的示意图。在该实施例中,该图像处理主机主要包括图像整体性能参数检测模块、状态检测模块、控制及故障分析模块以及显示接口模块。With reference to FIG. 3 , FIG. 3 is a schematic diagram of various functional modules of the image processing host in an embodiment. In this embodiment, the image processing host mainly includes an overall image performance parameter detection module, a status detection module, a control and failure analysis module, and a display interface module.
其中,图像整体性能参数检测模块用于检测内窥镜图像性能,转换成相应的图像性能参数,并记录。状态检测模块用于主动获取内窥镜图像系统相关子部件的状态,并记录该状态。控制及故障分析模块用于控制开机图像自检流程并获取图像性能参数,实时获取状态检测模块记录的子部件状态信息,分析是否出现故障,将分析结果转化为故障码并记录;显示接口模块用于获取图像性能参数及故障码,实现图像性能及故障码上传显示。Wherein, the overall image performance parameter detection module is used to detect the performance of the endoscope image, convert it into corresponding image performance parameters, and record it. The state detection module is used to actively obtain the state of the relevant sub-components of the endoscope image system, and record the state. The control and fault analysis module is used to control the power-on image self-inspection process and obtain image performance parameters, obtain the sub-component status information recorded by the status detection module in real time, analyze whether there is a fault, convert the analysis result into a fault code and record it; the display interface module is used To obtain image performance parameters and fault codes, and realize uploading and displaying image performance and fault codes.
在一个实施例中,如图4所示,提供了一种医疗工具检测方法,以该方法应用于图1中的图像处理主机为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 4 , a medical tool detection method is provided, which is described by taking the application of the method to the image processing host in FIG. 1 as an example, including the following steps:
S402:获取医疗工具采集的图像和/或部件状态信息。S402: Obtain images collected by the medical tool and/or component status information.
具体地,图像是指医疗工具所采集的图像,其可以是指医疗工具在开机后采集的第一幅图像,或者是医疗工具在开机后移动至目标位置后所采集的第一幅图像;其中这里的第一幅图像是指医疗工具稳定后所采集的图像,并不特指第一幅。Specifically, the image refers to the image collected by the medical tool, which may refer to the first image collected by the medical tool after it is turned on, or the first image collected by the medical tool after it is turned on and moved to the target position; wherein The first image here refers to the image collected after the medical tool is stabilized, not specifically the first image.
部件状态信息是医疗工具中对于各个部件所采集的状态信息,其包括但不限于通信部件的功能参数、各个部件的温湿度以及各个部件的使用寿命信息等。The component status information is the status information collected for each component in the medical tool, including but not limited to the functional parameters of the communication component, the temperature and humidity of each component, and the service life information of each component.
在一些实施例中,图像和部件状态信息可以通过不同的通信通道进行传输,例如图像通过光纤进行传输,而部件状态信息则通过串口通信进行传输。In some embodiments, the image and component status information can be transmitted through different communication channels, for example, the image is transmitted through optical fiber, while the component status information is transmitted through serial communication.
S404:对图像进行图像整体性能参数检测和/或根据部件状态信息进行故障检测;其中图像整体性能参数检测是根据图像的选定区域的参数计算得到的。S404: Perform overall image performance parameter detection on the image and/or perform fault detection based on component status information; wherein the overall image performance parameter detection is calculated based on parameters of a selected area of the image.
具体地,在一些实施例中,图像整体性能参数检测是根据图像的选定区域的参数计算得到的,其中图像的选定区域为整张图像。在其他的实施例中图像的选定区域还可以根据需要进行设置,并不仅仅局限于整张图像。其中图像整体性能参数检测主要是为了实现医疗工具自检,以判断医疗工具的图像指标是否满足要求。例如在医疗工具开机后,则立刻运行图像整体性能参数检测功能,以判断图像指标是否满足要求,若是满足要求,则输出满足要求的提示。在其他的实施例中,图像整体性能参数检测可以是在医疗工具开机后周期性地或不定时地进行,以保证医疗工具的图像指标一直满足要求。Specifically, in some embodiments, the overall performance parameter detection of the image is calculated based on parameters of a selected area of the image, where the selected area of the image is the entire image. In other embodiments, the selected area of the image can also be set as required, and is not limited to the entire image. Among them, the overall performance parameter detection of the image is mainly to realize the self-inspection of the medical tool, so as to judge whether the image index of the medical tool meets the requirements. For example, after the medical tool is turned on, it will immediately run the image overall performance parameter detection function to determine whether the image indicators meet the requirements, and if it meets the requirements, it will output a prompt that meets the requirements. In other embodiments, the overall performance parameter detection of the image may be performed periodically or irregularly after the medical tool is turned on, so as to ensure that the image index of the medical tool always meets the requirements.
部件状态信息的故障检测则可以是在图像整体性能参数检测之后,或者是与图像整体性能参数检测并行。在一些实施例中,是在图像整体性能参数检测通过后,再进行故障检测。其中,故障检测可以是将所提取的部件状态信息与标准的阈值进行比较以判断各个部件是否处于正常状态。The fault detection of component status information can be performed after the detection of the overall performance parameters of the image, or in parallel with the detection of the overall performance parameters of the image. In some embodiments, the fault detection is performed after the overall performance parameter detection of the image is passed. Wherein, the fault detection may be to compare the extracted component state information with a standard threshold to determine whether each component is in a normal state.
其中,对图像进行图像整体性能参数检测,包括以下至少一种:对图像进行图像均匀性检测,其中图像均匀性检测包括:将图像分为至少两个图像区域,并计算各个图像区域的区域指标,根据区域指标计算得到图像整体均匀性指标;对图像进行图像畸变率检测,其中图像畸变率检测包括:计算图像对应的还原图像,并获取图像中心点、图像边界以及还原图像边界,基于图像中心点、图像边界以及还原图像边界计算得到图像畸变率;对图像进行图像信噪比检测,其中图像信噪比检测包括:根据图像提取噪声信号和有效信号,根据有效信号和噪声信号计算得到图像信噪比。Wherein, performing image overall performance parameter detection on the image includes at least one of the following: performing image uniformity detection on the image, wherein the image uniformity detection includes: dividing the image into at least two image regions, and calculating the region index of each image region , calculate the overall uniformity index of the image according to the area index; detect the image distortion rate of the image, and the image distortion rate detection includes: calculate the restored image corresponding to the image, and obtain the image center point, image boundary and restored image boundary, based on the image center Points, image boundaries, and restored image boundaries are calculated to obtain the image distortion rate; image signal-to-noise ratio detection is performed on the image, and the image signal-to-noise ratio detection includes: extracting noise signals and effective signals according to the image, and calculating image information based on the effective signals and noise signals noise ratio.
其中,图像整体性能参数检测可以是利用自建算法对图像进行处理以获取相应的图像性能参数。性能参数包括但不限于颜色、动态范围、信噪比、亮度、畸变率、清晰度和对比度。结合图5所示,图像均匀性检测,可以使用平均方差法检测。具体地,将图像平均分成若干图像区域,例如将1920x1080分辨率图像,分成48x27个(40x40)图像区域,计算出平均方差,从而获得图像均匀性相关参数。具体地,可以采用以下公式进行计算:Wherein, the overall performance parameter detection of the image may be to use a self-built algorithm to process the image to obtain corresponding image performance parameters. Performance parameters include, but are not limited to, color, dynamic range, signal-to-noise ratio, brightness, distortion rate, sharpness, and contrast. As shown in Figure 5, the image uniformity detection can be detected using the average variance method. Specifically, the image is evenly divided into several image regions, for example, a 1920x1080 resolution image is divided into 48x27 (40x40) image regions, and the average variance is calculated to obtain parameters related to image uniformity. Specifically, the following formula can be used for calculation:
Figure PCTCN2022133371-appb-000001
Figure PCTCN2022133371-appb-000001
其中,x 1,x 2,x 3,…x (n-1),x n为图像区域的均值,x为整幅图像的均值。 Among them, x 1 , x 2 , x 3 , ... x (n-1) , x n is the mean value of the image area, and x is the mean value of the whole image.
在其他实施例中,图像均匀性检测也可以采用现有的其他方法计算,本申请对此无限制。In other embodiments, the image uniformity detection may also be calculated using other existing methods, which is not limited in the present application.
在一个实施例中,结合图6和图7所示,其中图6为畸变率检测的流程图,图7为畸变率检测的示意图,在该实施例中,关于图像畸变率检测的计算方法,图像处理主机可以获取A点(图像中心点)、B点(畸变图像边界)、C点(还原图像边界)三个点的坐标,假设分别为(Xa,Ya)、(Xb,Yb)、(Xc,Yc)。In one embodiment, as shown in FIG. 6 and FIG. 7 , wherein FIG. 6 is a flow chart of distortion rate detection, and FIG. 7 is a schematic diagram of distortion rate detection. In this embodiment, regarding the calculation method of image distortion rate detection, The image processing host can obtain the coordinates of point A (image center point), point B (distorted image boundary), and point C (restored image boundary), assuming that they are (Xa, Ya), (Xb, Yb), ( Xc, Yc).
其中,通过图像边界检测计算获取B点,通过畸变还原计算获取C点,则:Among them, point B is obtained through image boundary detection calculation, and point C is obtained through distortion restoration calculation, then:
Figure PCTCN2022133371-appb-000002
Figure PCTCN2022133371-appb-000002
Figure PCTCN2022133371-appb-000003
Figure PCTCN2022133371-appb-000003
其中畸变率=(△y/y)·100%,其中y是还原图像边界点和图像中心点的距离,△y是还原图像边界点和畸变图像边界点的距离。Wherein the distortion rate=(Δy/y)·100%, where y is the distance between the boundary point of the restored image and the center point of the image, and Δy is the distance between the boundary point of the restored image and the boundary point of the distorted image.
在一个实施例中,结合图8所示,图8为一个实施例中的信噪比检测方法的流程图,关于图像信噪比检测的方法,图像分析及控制模块,通过配置图像传感器,调整图像亮度及曝光时间,从而调整输出的图像数据,以便提取噪声信号及有效信号,并计算出信噪比=有效信号/噪声信号,记录下结果,待图像分析及控制模块读取信息,从而可分析图像参数。In one embodiment, as shown in FIG. 8 , FIG. 8 is a flow chart of a method for detecting SNR in one embodiment. Regarding the method for detecting SNR of an image, the image analysis and control module configures the image sensor to adjust Image brightness and exposure time, so as to adjust the output image data, so as to extract the noise signal and effective signal, and calculate the signal-to-noise ratio = effective signal/noise signal, record the result, wait for the image analysis and control module to read the information, so that you can Analyze image parameters.
在一个实施例中,根据部件状态信息进行故障检测,包括以下至少一种:根据部件状态信息进行通讯异常检测,通讯异常检测包括误码检测、丢包检测及超时检测中的至少一个;根据部件状态信息进行温湿度检测,其中温湿度检测包括根据温湿度传感器采集的数据进行阈值判断;根据部件状态信息进行使用寿命检测,其中使用寿命检测包括内窥镜插拔接口、内窥镜及图像主机内部Flash、图像主机风扇以及电源模块中的至少一个的使用寿命检测。In one embodiment, performing fault detection according to component state information includes at least one of the following: performing communication anomaly detection according to component state information, where communication anomaly detection includes at least one of error code detection, packet loss detection, and timeout detection; Status information for temperature and humidity detection, where temperature and humidity detection includes threshold judgment based on data collected by temperature and humidity sensors; service life detection based on component status information, where service life detection includes endoscope plug-in interface, endoscope and image host The service life detection of at least one of the internal Flash, the image host fan and the power supply module.
在一个实施例中,结合图9所示,图9为一个实施例中的通讯异常检测功能示意图,在该实施例中,各子部件在正常工作时,实时记录通讯状态,通讯异常检测模块进行误码检测,丢包检测及超时检测;误码检测使用CRC即循环冗余校验码校验方式;丢包检测使用包序列编码方式。In one embodiment, as shown in FIG. 9 , FIG. 9 is a schematic diagram of a communication anomaly detection function in an embodiment. In this embodiment, each sub-component records the communication status in real time during normal operation, and the communication anomaly detection module performs Error detection, packet loss detection and timeout detection; error detection uses CRC (cyclic redundancy check code verification method); packet loss detection uses packet sequence encoding.
在一个实施例中,结合图10所示,图10为一个实施例中的温湿度检测功能示意图,在该实施例中,采用多个温湿度传感器,测量数据取均值,避免检测误差;相关温湿度传感器可分别设置在内窥镜图像传感器周围、光电转换芯片周围和图像主机图像处理芯片周 围;当温湿度测量数据超出阈值后,记录故障告警信息。In one embodiment, as shown in FIG. 10, FIG. 10 is a schematic diagram of the temperature and humidity detection function in one embodiment. In this embodiment, a plurality of temperature and humidity sensors are used, and the measurement data is averaged to avoid detection errors; Humidity sensors can be arranged around the image sensor of the endoscope, around the photoelectric conversion chip, and around the image processing chip of the image host; when the temperature and humidity measurement data exceeds the threshold, the fault alarm information is recorded.
在一个实施例中,结合图11所示,图11为一个实施例中的使用寿命检测功能示意图,在该实施例中,涉及使用寿命检测的部件包括内窥镜插拔接口、内窥镜及图像主机内部Flash、图像主机风扇、电源模块等;当使用寿命超出阈值后,记录下故障告警信息,其中使用寿命可以通过使用时间和/或使用次数来表示,因此图像处理主机在医疗工具使用时,可以进行使用时间记录和/或使用次数记录,以便于后续使用寿命的判断。In one embodiment, as shown in FIG. 11, FIG. 11 is a schematic diagram of the service life detection function in one embodiment. In this embodiment, the components related to service life detection include endoscope plug-in interface, endoscope and The internal Flash of the image host, the fan of the image host, the power supply module, etc.; when the service life exceeds the threshold, the fault alarm information is recorded, and the service life can be expressed by the use time and/or the number of uses, so the image processing host is used in medical tools. , you can record the usage time and/or the number of usage times, so as to facilitate the judgment of the subsequent service life.
S406:输出图像整体性能参数检测的结果和/或故障检测的结果。S406: Output the detection result of the overall image performance parameter and/or the fault detection result.
具体地,图像处理主机在计算得到图像整体性能参数检测的结果和/或故障检测的结果后,可以输出图像整体性能参数检测的结果和/或故障检测的结果。例如图像处理主机将图像整体性能参数检测的结果和/或故障检测的结果输出至显示器、指示灯或者是蜂鸣器等等。Specifically, the image processing host may output the detection result of the overall image performance parameter and/or the fault detection result after calculating and obtaining the detection result of the overall image performance parameter and/or the result of the fault detection. For example, the image processing host outputs the detection result of the overall performance parameter of the image and/or the fault detection result to a display, an indicator light or a buzzer and the like.
上述医疗工具检测方法,根据图像进行图像整体性能参数检测和/或根据部件状态信息进行故障检测,并输出图像整体性能参数检测的结果和/或故障检测的结果,不需要人工来进行判断,因此提高了智能化水平。The above-mentioned medical tool detection method detects the overall performance parameters of the image and/or performs fault detection according to the component status information according to the image, and outputs the result of the overall performance parameter detection of the image and/or the result of the fault detection, which does not require manual judgment, so The level of intelligence has been improved.
在一个实施例中,获取医疗工具采集的图像,包括:在医疗工具开机后,获取医疗工具采集的图像。对图像进行图像整体性能参数检测,包括:对图像进行质量分析得到图像指标;当图像指标不满足预设要求时,生成图像整体性能参数检测失败的信息;否则生成图像整体性能参数检测成功的信息。In one embodiment, acquiring the image collected by the medical tool includes: acquiring the image collected by the medical tool after the medical tool is turned on. Detecting the overall performance parameters of the image, including: analyzing the quality of the image to obtain the image index; when the image index does not meet the preset requirements, generating information that the overall performance parameter detection of the image fails; otherwise generating information that the overall performance parameter detection of the image is successful .
在一个实施例中,获取医疗工具采集的图像之前,所述医疗工具检测方法还包括:判断医疗工具是否正常采集图像;当医疗工具正常采集图像时,继续获取医疗工具采集的图像;当医疗工具无法采集图像时,输出图像采集失败的提示信息。In one embodiment, before obtaining the image collected by the medical tool, the medical tool detection method further includes: judging whether the medical tool collects the image normally; when the medical tool normally collects the image, continue to obtain the image collected by the medical tool; When the image cannot be collected, the prompt message of image collection failure will be output.
在一个实施例中,结合图12所示,图12为一个实施例中的图像整体性能参数检测流程的示意图,在该实施例中,医疗工具开机后,判断医疗工具是否正常采集图像,若是医疗工具无法采集图像时,输出图像采集失败的提示信息,例如输出至显示器,以使得显示器主动提示用户。In one embodiment, as shown in FIG. 12, FIG. 12 is a schematic diagram of an overall image performance parameter detection process in one embodiment. In this embodiment, after the medical tool is turned on, it is judged whether the medical tool is normally collecting images. When the tool fails to capture an image, it outputs a prompt message of image capture failure, for example, to a display, so that the display actively prompts the user.
若是医疗工具正常采集图像,运行图像整体性能参数检测功能,以对图像进行质量分析得到图像指标,判断图像指标是否满足预设要求,若是相关图像指标未满足预设要求时,显示器列出具体的不合格项;所有的图像指标均满足时,显示器将一一列出相关参数。If the medical tool collects images normally, run the overall performance parameter detection function of the image to analyze the quality of the image to obtain image indicators, and judge whether the image indicators meet the preset requirements. If the relevant image indicators do not meet the preset requirements, the display will list the specific Unqualified items; when all the image indicators are met, the display will list the relevant parameters one by one.
在一个实施例中,输出图像整体性能参数检测的结果,包括:根据图像整体性能参数检测失败的信息获取不满足要求的图像指标,并输出不满足要求的图像指标和/或输出报警信息;或根据图像整体性能参数检测成功的信息获取所有的图像指标,并输出所获取的图像指标。In one embodiment, outputting the result of the detection of the overall performance parameters of the image includes: obtaining image indicators that do not meet the requirements according to the information that the detection of the overall performance parameters of the image fails, and outputting the image indicators that do not meet the requirements and/or outputting alarm information; or Acquire all image indexes according to the successful detection information of the overall image performance parameters, and output the obtained image indexes.
在一个实施例中,输出不满足要求的图像指标之后,所述医疗工具检测方法包括:接收与图像指标对应的控制参数的调整指令;根据调整指令调整控制参数,并将调整后的控制参数发送至医疗工具的图像采集部件。In one embodiment, after outputting the image index that does not meet the requirements, the medical tool detection method includes: receiving an adjustment instruction of the control parameter corresponding to the image index; adjusting the control parameter according to the adjustment instruction, and sending the adjusted control parameter to Image acquisition components to medical tools.
在一个实施例中,结合图13所示,图13为另一个实施例中的图像整体性能参数检测流程的示意图,在该实施例中,首先图像整体性能参数检测模块获取到医疗工具采集的图像数据,然后对图像数据进行处理得到图像性能参数,将图像性能参数发送至图像分析及控制模块,图像分析及控制模块将图像整体性能参数检测结果发送给显示器,例如显示设备中进行显示。In one embodiment, as shown in FIG. 13 , FIG. 13 is a schematic diagram of an overall image performance parameter detection process in another embodiment. In this embodiment, first, the overall image performance parameter detection module acquires images collected by medical tools data, and then process the image data to obtain image performance parameters, and send the image performance parameters to the image analysis and control module, and the image analysis and control module sends the detection results of the overall performance parameters of the image to the display, such as displaying in the display device.
图像分析及控制模块还可以根据图像性能参数计算得到图像传感器控制信息,通过图像传感器控制模块发送图像传感器参数至图像传感器,从而调整图像质量。The image analysis and control module can also calculate the image sensor control information according to the image performance parameters, and send the image sensor parameters to the image sensor through the image sensor control module, so as to adjust the image quality.
在一个实施例中,所述医疗工具检测方法还包括:在进行图像整体性能参数检测时,输出图像整体性能参数检测的阶段信息。In one embodiment, the medical tool detection method further includes: when detecting the overall performance parameters of the image, outputting phase information of the overall performance parameter detection of the image.
在一个实施例中,结合图14所示,图14为再一个实施例中的图像整体性能参数检测流程的示意图,在该实施例中,医疗工具开机,图像开始自检时,在显示设备上提示“开 始图像自检”;医疗工具处在图像自检状态时,显示医疗工具处在图像自检的具体某个环节,例如:“正在信噪比检测”、“正在图像均匀性检测”等;图像自检完成,指标合格,显示设备显示图像参数;图像自检完成,指标不合格,显示设备显示不合格图像指标参数,并可通过显示设备或灯光、声音等形式进行告警提示。In one embodiment, as shown in FIG. 14 , FIG. 14 is a schematic diagram of the overall image performance parameter detection process in another embodiment. In this embodiment, when the medical tool is turned on and the image starts self-checking, the display device displays Prompt "Start image self-inspection"; when the medical tool is in the state of image self-inspection, it will display that the medical tool is in a specific link of image self-inspection, for example: "Signal-to-noise ratio test", "Image uniformity test in progress", etc. ;The image self-inspection is completed, the indicators are qualified, and the display device displays the image parameters; the image self-inspection is completed, the indicators are unqualified, the display device displays the unqualified image index parameters, and alarm prompts can be given through the display device, lights, and sounds.
在一个实施例中,根据部件状态信息进行故障检测,包括:根据部件状态信息实时分析得到故障类型;获取故障类型对应的故障码;故障检测的结果的输出包括:输出故障码。In one embodiment, performing fault detection according to the component state information includes: analyzing in real time according to the component state information to obtain a fault type; obtaining a fault code corresponding to the fault type; outputting the fault detection result includes: outputting a fault code.
在一个实施例中,结合图15所示,图15为一个实施例中的故障检测流程的示意图;图16为一个实施例中的故障检测信号传递流程示意图;图17为一个实施例中故障检测交互示意图。In one embodiment, as shown in FIG. 15, FIG. 15 is a schematic diagram of a fault detection process in an embodiment; FIG. 16 is a schematic diagram of a fault detection signal transmission process in an embodiment; FIG. 17 is a fault detection in an embodiment Interaction diagram.
在该实施例中,开机图像自检完成后,进入实时故障检测状态;当相关子部件出现状态异常后,综合反馈状态信息,分析故障类型;最后将故障类型以故障码形式在显示设备显示。In this embodiment, after the power-on image self-inspection is completed, it enters the real-time fault detection state; when the state of the relevant sub-components is abnormal, the state information is comprehensively fed back, and the fault type is analyzed; finally, the fault type is displayed on the display device in the form of a fault code.
结合图16,被检测部件将记录的状态信息实时传递给状态检测模块;当相关子部件出现状态异常后,状态检测模块将综合后的状态信息以故障信息的形式发送至故障分析模块,最后故障分析模块将故障类型以故障码形式显示于设备显示。Combined with Figure 16, the detected component transmits the recorded status information to the status detection module in real time; when the relevant sub-components are abnormal, the status detection module sends the integrated status information to the fault analysis module in the form of fault information, and finally the fault The analysis module displays the fault type on the device display in the form of fault codes.
结合图17,图像处理主机完成图像自检后即进入实时故障检测状态;当部件出现状态异常时,分析出故障类型,并在显示设备端显示故障码,例如:Error Code:0x01:图像通道异常;0x02:指令控制通道异常;0x03:高温异常;0x04:高湿异常;以及0x05:使用寿命异常。在其他的实施例中可以为其他的故障码,在此不做具体限定。Combined with Figure 17, the image processing host enters the real-time fault detection state after completing the image self-test; when the component is abnormal, it analyzes the fault type and displays the fault code on the display device, for example: Error Code: 0x01: abnormal image channel ;0x02: abnormal command control channel; 0x03: abnormal high temperature; 0x04: abnormal high humidity; and 0x05: abnormal service life. In other embodiments, it may be other fault codes, which are not specifically limited here.
应该理解的是,虽然图4、图6、图8、图12、图13、图14、图15和图16的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图4、图6、图8、图12、图13、图14、图15和图16中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of FIGS. The sequence indicated by the arrow is executed sequentially. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in Fig. 4, Fig. 6, Fig. 8, Fig. 12, Fig. 13, Fig. 14, Fig. 15 and Fig. 16 may include multiple steps or multiple stages, and these steps or stages are not necessarily in the same It can be performed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least a part of steps or stages in other steps.
在一个实施例中,本申请提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图18所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种医疗工具检测方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In an embodiment, the present application provides a computer device, which may be a terminal, and its internal structure may be as shown in FIG. 18 . The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, an operator network, NFC (Near Field Communication) or other technologies. When the computer program is executed by the processor, a medical tool detection method is realized. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the computer device , and can also be an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图18中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 18 is only a block diagram of a partial structure related to the solution of this application, and does not constitute a limitation to the computer equipment on which the solution of this application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
在一个实施例中,本申请还提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:获取医疗工具采集的图像和/或部件状态信息;对图像进行图像整体性能参数检测和/或根据部件状态信息进行故障检测,图像整体性能参数检测是根据图像的选定区域的参数计算得到的;输出图像整体性能参数检测的结果和/或故障检测的结果。In one embodiment, the present application also provides a computer device, including a memory and a processor, a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: acquiring images and/or components collected by medical tools State information; perform image overall performance parameter detection on the image and/or perform fault detection based on component state information, the overall image performance parameter detection is calculated based on parameters in a selected area of the image; output the result of the image overall performance parameter detection and/or or the result of fault detection.
在一个实施例中,处理器执行计算机程序时所实现的获取医疗工具采集的图像的步骤 包括:在医疗工具开机后,获取医疗工具采集的图像。处理器执行计算机程序时所实现的对图像进行图像整体性能参数检测的步骤包括:对图像进行质量分析得到图像指标;当图像指标不满足预设要求时,生成图像整体性能参数检测失败的信息;否则生成图像整体性能参数检测成功的信息。In one embodiment, when the processor executes the computer program, the step of acquiring the image collected by the medical tool includes: after the medical tool is powered on, acquiring the image collected by the medical tool. When the processor executes the computer program, the steps of detecting the overall image performance parameters of the image include: performing quality analysis on the image to obtain image indicators; when the image indicators do not meet the preset requirements, generating information indicating that the overall image performance parameters have failed to be detected; Otherwise, information indicating that the detection of the overall performance parameter of the image is successful is generated.
在一个实施例中,处理器执行计算机程序时所实现的输出图像整体性能参数检测的结果的步骤包括:根据图像整体性能参数检测失败的信息获取不满足要求的图像指标,并输出不满足要求的图像指标和/或输出报警信息;或根据图像整体性能参数检测成功的信息获取所有的图像指标,并输出所获取的图像指标。In one embodiment, when the processor executes the computer program, the step of outputting the result of the detection of the overall performance parameter of the image includes: obtaining the image index that does not meet the requirements according to the information that the detection of the overall performance parameter of the image fails, and outputting the result of the detection that does not meet the requirements Image indicators and/or output alarm information; or obtain all image indicators according to the successful detection information of the overall performance parameters of the image, and output the obtained image indicators.
在一个实施例中,处理器执行计算机程序时所实现的输出不满足要求的图像指标之后,还实现以下步骤:接收与图像指标对应的控制参数的调整指令;根据调整指令调整控制参数,并将调整后的控制参数发送至医疗工具的图像采集部件。In one embodiment, after the processor executes the computer program to output the image index that does not meet the requirements, the following steps are also implemented: receiving an adjustment instruction of the control parameter corresponding to the image index; adjusting the control parameter according to the adjustment instruction, and The adjusted control parameters are sent to the image acquisition part of the medical tool.
在一个实施例中,处理器执行计算机程序时所实现的获取医疗工具采集的图像之前,还实现以下步骤:判断医疗工具是否正常采集图像;当医疗工具正常采集图像时,继续获取医疗工具采集的图像;当医疗工具无法采集图像时,输出图像采集失败的提示信息。In one embodiment, before the processor executes the computer program to obtain the image collected by the medical tool, the following steps are further implemented: judging whether the medical tool normally collects the image; when the medical tool normally collects the image, continue to obtain the image collected by the medical tool Image; when the medical tool fails to collect an image, output a prompt message of image collection failure.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:在进行图像整体性能参数检测时,输出图像整体性能参数检测的阶段信息。In one embodiment, when the processor executes the computer program, the following steps are further implemented: when detecting the overall performance parameters of the image, output stage information of the overall image performance parameter detection.
在一个实施例中,处理器执行计算机程序时所实现的对图像进行图像整体性能参数检测,包括以下至少一种:对图像进行图像均匀性检测,其中图像均匀性检测包括:将图像分为至少两个图像区域,并计算各个图像区域的区域指标,根据区域指标计算得到图像整体均匀性指标;对图像进行图像畸变率检测,其中图像畸变率检测包括:计算图像对应的还原图像,并获取图像中心点、图像边界以及还原图像边界,基于图像中心点、图像边界以及还原图像边界计算得到图像畸变率;对图像进行图像信噪比检测,其中图像信噪比检测包括:根据图像提取噪声信号和有效信号,根据有效信号和噪声信号计算得到图像信噪比。In one embodiment, when the processor executes the computer program, the overall image performance parameter detection of the image includes at least one of the following: performing image uniformity detection on the image, wherein the image uniformity detection includes: dividing the image into at least Two image areas, and calculate the area index of each image area, and calculate the overall uniformity index of the image according to the area index; perform image distortion rate detection on the image, wherein the image distortion rate detection includes: calculate the restored image corresponding to the image, and obtain the image Center point, image boundary and restored image boundary, calculate the image distortion rate based on the image center point, image boundary and restored image boundary; perform image signal-to-noise ratio detection on the image, wherein the image signal-to-noise ratio detection includes: extracting noise signals and Effective signal, the signal-to-noise ratio of the image is calculated according to the effective signal and the noise signal.
在一个实施例中,处理器执行计算机程序时所实现的根据部件状态信息进行故障检测的步骤包括:根据部件状态信息实时分析得到故障类型;获取故障类型对应的故障码;其中故障检测的结果的输出包括:输出故障码。In one embodiment, when the processor executes the computer program, the step of performing fault detection according to the component state information includes: analyzing and obtaining the fault type according to the component state information in real time; obtaining the fault code corresponding to the fault type; wherein the result of the fault detection is The output includes: output fault code.
在一个实施例中,处理器执行计算机程序时所实现的根据部件状态信息进行故障检测,包括以下至少一种:根据部件状态信息进行通讯异常检测,通讯异常检测包括误码检测、丢包检测及超时检测中的至少一个;根据部件状态信息进行温湿度检测,温湿度检测包括根据温湿度传感器采集的数据进行阈值判断;根据部件状态信息进行使用寿命检测,使用寿命检测包括内窥镜插拔接口、内窥镜及图像主机内部Flash、图像主机风扇以及电源模块中的至少一个的使用寿命检测。In one embodiment, when the processor executes the computer program, the fault detection according to the component state information includes at least one of the following: performing communication abnormality detection according to the component state information, and the communication abnormality detection includes bit error detection, packet loss detection and At least one of overtime detection; temperature and humidity detection based on component state information, temperature and humidity detection includes threshold judgment based on data collected by temperature and humidity sensors; service life detection based on component state information, service life detection includes endoscope plug-in interface , the endoscope and the internal Flash of the image host, the fan of the image host and the service life detection of at least one of the power supply modules.
在一个实施例中,本申请还提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:获取医疗工具采集的图像和/或部件状态信息;对图像进行图像整体性能参数检测和/或根据部件状态信息进行故障检测,图像整体性能参数检测是根据图像的选定区域的参数计算得到的;输出图像整体性能参数检测的结果和/或故障检测的结果。In one embodiment, the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: acquiring images collected by medical tools and/or component status information; Perform image overall performance parameter detection on the image and/or perform fault detection based on component status information. The image overall performance parameter detection is calculated based on the parameters of the selected area of the image; output the result of image overall performance parameter detection and/or fault detection the result of.
在一个实施例中,计算机程序被处理器执行时所实现的获取医疗工具采集的图像的步骤包括:在医疗工具开机后,获取医疗工具采集的图像。处理器执行计算机程序时所实现的对图像进行图像整体性能参数检测的步骤包括:对图像进行质量分析得到图像指标;当图像指标不满足预设要求时,生成图像整体性能参数检测失败的信息;否则生成图像整体性能参数检测成功的信息。In one embodiment, when the computer program is executed by the processor, the step of acquiring the image collected by the medical tool includes: acquiring the image collected by the medical tool after the medical tool is turned on. When the processor executes the computer program, the steps of detecting the overall image performance parameters of the image include: performing quality analysis on the image to obtain image indicators; when the image indicators do not meet the preset requirements, generating information indicating that the overall image performance parameters have failed to be detected; Otherwise, information indicating that the detection of the overall performance parameter of the image is successful is generated.
在一个实施例中,计算机程序被处理器执行时所实现的输出图像整体性能参数检测的结果的步骤包括:根据图像整体性能参数检测失败的信息获取不满足要求的图像指标,并输出不满足要求的图像指标和/或输出报警信息;或根据图像整体性能参数检测成功的信 息获取所有的图像指标,并输出所获取的图像指标。In one embodiment, when the computer program is executed by the processor, the step of outputting the result of the overall performance parameter detection of the image includes: obtaining the image index that does not meet the requirements according to the information that the overall performance parameter detection of the image fails, and outputting the unsatisfied requirements image indicators and/or output alarm information; or obtain all image indicators according to the successful detection information of the overall performance parameters of the image, and output the obtained image indicators.
在一个实施例中,计算机程序被处理器执行时所实现的输出不满足要求的图像指标之后,还实现以下步骤:接收与图像指标对应的控制参数的调整指令;根据调整指令调整控制参数,并将调整后的控制参数发送至医疗工具的图像采集部件。In one embodiment, after the computer program is executed by the processor to output the image index that does not meet the requirements, the following steps are also implemented: receiving an adjustment instruction of the control parameter corresponding to the image index; adjusting the control parameter according to the adjustment instruction, and The adjusted control parameters are sent to an image acquisition component of the medical tool.
在一个实施例中,计算机程序被处理器执行时所实现的获取医疗工具采集的图像之前,还实现以下步骤:判断医疗工具是否正常采集图像;当医疗工具正常采集图像时,继续获取医疗工具采集的图像;当医疗工具无法采集图像时,输出图像采集失败的提示信息。In one embodiment, before the computer program is executed by the processor to obtain the image collected by the medical tool, the following steps are further implemented: judging whether the medical tool normally collects the image; when the medical tool normally collects the image, continue to obtain the image collected by the medical tool image; when the medical tool fails to collect the image, output a prompt message of image collection failure.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:在进行图像整体性能参数检测时,输出图像整体性能参数检测的阶段信息。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when detecting the overall performance parameters of the image, output stage information of the detection of the overall image performance parameters.
在一个实施例中,计算机程序被处理器执行时所实现的对图像进行图像整体性能参数检测的步骤包括以下至少一种:对图像进行图像均匀性检测,图像均匀性检测包括:将图像分为至少两个图像区域,并计算各个图像区域的区域指标,根据区域指标计算得到图像整体均匀性指标;对图像进行图像畸变率检测,图像畸变率检测包括:计算图像对应的还原图像,并获取图像中心点、图像边界以及还原图像边界,基于图像中心点、图像边界以及还原图像边界计算得到图像畸变率;对图像进行图像信噪比检测,图像信噪比检测包括:根据图像提取噪声信号和有效信号,根据有效信号和噪声信号计算得到图像信噪比。In one embodiment, when the computer program is executed by the processor, the step of detecting the overall image performance parameters of the image includes at least one of the following: performing image uniformity detection on the image, and the image uniformity detection includes: dividing the image into At least two image areas, and calculate the area index of each image area, and calculate the overall uniformity index of the image according to the area index; detect the image distortion rate of the image, and the image distortion rate detection includes: calculating the restored image corresponding to the image, and obtaining the image Center point, image boundary and restored image boundary, calculate the image distortion rate based on the image center point, image boundary and restored image boundary; perform image signal-to-noise ratio detection on the image, image signal-to-noise ratio detection includes: extract noise signal and effective Signal, the signal-to-noise ratio of the image is calculated according to the effective signal and the noise signal.
在一个实施例中,计算机程序被处理器执行时所实现的根据部件状态信息进行故障检测的步骤包括:根据部件状态信息实时分析得到故障类型;获取故障类型对应的故障码;故障检测的结果的输出包括:输出故障码。In one embodiment, when the computer program is executed by the processor, the step of performing fault detection according to the component state information includes: analyzing and obtaining the fault type according to the component state information in real time; obtaining the fault code corresponding to the fault type; The output includes: output fault code.
在一个实施例中,计算机程序被处理器执行时所实现的根据部件状态信息进行故障检测的步骤包括以下至少一种:根据部件状态信息进行通讯异常检测,通讯异常检测包括误码检测、丢包检测及超时检测中的至少一个;根据部件状态信息进行温湿度检测,温湿度检测包括根据温湿度传感器采集的数据进行阈值判断;根据部件状态信息进行使用寿命检测,使用寿命检测包括内窥镜插拔接口、内窥镜及图像主机内部Flash、图像主机风扇以及电源模块中的至少一个的使用寿命检测。In one embodiment, when the computer program is executed by the processor, the step of performing fault detection according to the component state information includes at least one of the following: performing communication anomaly detection according to the component state information, and the communication anomaly detection includes bit error detection, packet loss At least one of detection and overtime detection; temperature and humidity detection according to component state information, temperature and humidity detection includes threshold judgment based on data collected by temperature and humidity sensors; service life detection according to component state information, service life detection includes endoscope insertion The service life detection of at least one of the plug-in interface, the endoscope, the internal Flash of the image host, the fan of the image host and the power supply module.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include at least one of non-volatile memory and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several implementation modes of the present application, and the description thereof is relatively specific and detailed, but it should not be construed as limiting the scope of the patent for the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (16)

  1. 一种医疗工具检测方法,包括:A medical tool detection method, comprising:
    获取所述医疗工具采集的图像和/或部件状态信息;Obtaining images and/or component status information collected by the medical tool;
    对所述图像进行图像整体性能参数检测和/或根据所述部件状态信息进行故障检测;所述图像整体性能参数检测是根据所述图像的选定区域的参数计算得到的;Perform image overall performance parameter detection on the image and/or perform fault detection based on the component status information; the image overall performance parameter detection is calculated based on parameters of a selected area of the image;
    输出图像整体性能参数检测的结果和/或故障检测的结果。Outputting the detection result of the overall performance parameter of the image and/or the result of the fault detection.
  2. 根据权利要求1所述的方法,其中,所述获取所述医疗工具采集的图像包括:The method according to claim 1, wherein said obtaining the image collected by said medical tool comprises:
    在所述医疗工具开机后,获取所述医疗工具采集的图像;After the medical tool is turned on, acquire an image collected by the medical tool;
    所述对所述图像进行图像整体性能参数检测包括:The said overall performance parameter detection of the image includes:
    对所述图像进行质量分析得到图像指标;Performing quality analysis on the image to obtain an image index;
    当所述图像指标不满足预设要求时,生成图像整体性能参数检测失败的信息;否则生成图像整体性能参数检测成功的信息。When the image index does not meet the preset requirements, generate information indicating that the detection of the overall image performance parameter fails; otherwise, generate information indicating that the detection of the overall image performance parameter succeeds.
  3. 根据权利要求2所述的方法,其中,所述输出图像整体性能参数检测的结果包括:The method according to claim 2, wherein the result of the overall performance parameter detection of the output image comprises:
    根据图像整体性能参数检测失败的信息获取不满足要求的图像指标,并输出所述不满足要求的图像指标和/或输出报警信息。Acquiring unsatisfactory image indicators according to the failure information of the overall image performance parameter detection, and outputting the unsatisfactory image indicators and/or outputting alarm information.
  4. 根据权利要求2所述的方法,其中,所述输出图像整体性能参数检测的结果包括:The method according to claim 2, wherein the result of the overall performance parameter detection of the output image comprises:
    根据图像整体性能参数检测成功的信息获取所有的图像指标,并输出所获取的所有的图像指标。Acquiring all image indicators according to the successful detection information of the image overall performance parameters, and outputting all the acquired image indicators.
  5. 根据权利要求3所述的方法,其中,所述输出不满足要求的图像指标之后,包括:The method according to claim 3, wherein, after outputting the image index that does not meet the requirements, comprising:
    接收与所述图像指标对应的控制参数的调整指令;receiving an adjustment instruction of a control parameter corresponding to the image index;
    根据所述调整指令调整所述控制参数,并将调整后的所述控制参数发送至所述医疗工具的图像采集部件。The control parameter is adjusted according to the adjustment instruction, and the adjusted control parameter is sent to the image acquisition component of the medical tool.
  6. 根据权利要求2所述的方法,其中,所述获取所述医疗工具采集的图像之前,还包括:The method according to claim 2, wherein, before acquiring the image collected by the medical tool, further comprising:
    判断所述医疗工具是否正常采集图像;judging whether the medical tool is collecting images normally;
    当所述医疗工具正常采集图像时,继续获取所述医疗工具采集的图像;When the medical tool normally collects images, continue to acquire the images collected by the medical tool;
    当所述医疗工具无法采集图像时,输出图像采集失败的提示信息。When the medical tool fails to capture an image, output a prompt message that the image capture fails.
  7. 根据权利要求1至6中任一项所述的方法,还包括:The method according to any one of claims 1 to 6, further comprising:
    在进行图像整体性能参数检测时,输出图像整体性能参数检测的阶段信息。During the detection of the overall performance parameters of the image, the stage information of the detection of the overall performance parameters of the image is output.
  8. 根据权利要求1至6中任一项所述的方法,其中,对所述图像进行图像整体性能参数检测包括以下至少一种:The method according to any one of claims 1 to 6, wherein performing the overall image performance parameter detection on the image includes at least one of the following:
    对所述图像进行图像均匀性检测,所述图像均匀性检测包括:将所述图像分为至少两个图像区域,并计算各个图像区域的区域指标,根据所述区域指标计算得到图像整体均匀性指标;Performing image uniformity detection on the image, the image uniformity detection includes: dividing the image into at least two image areas, and calculating the area index of each image area, and calculating the overall uniformity of the image according to the area index index;
    对所述图像进行图像畸变率检测,所述图像畸变率检测包括:计算所述图像对应的还原图像,并获取图像中心点、图像边界以及还原图像边界,基于所述图像中心点、图像边界以及还原图像边界计算得到图像畸变率;Performing image distortion rate detection on the image, the image distortion rate detection includes: calculating the restored image corresponding to the image, and obtaining the image center point, image boundary and restored image boundary, based on the image center point, image boundary and Restore the image boundary to calculate the image distortion rate;
    对所述图像进行图像信噪比检测,所述图像信噪比检测包括:根据所述图像提取噪声信号和有效信号,根据所述有效信号和所述噪声信号计算得到图像信噪比。Performing image signal-to-noise ratio detection on the image, the image signal-to-noise ratio detection includes: extracting a noise signal and an effective signal according to the image, and calculating an image signal-to-noise ratio according to the effective signal and the noise signal.
  9. 根据权利要求1所述的方法,其中,所述根据所述部件状态信息进行故障检测包括:The method according to claim 1, wherein said performing fault detection according to said component state information comprises:
    根据所述部件状态信息实时分析得到故障类型;According to the real-time analysis of the component status information, the fault type is obtained;
    获取所述故障类型对应的故障码;Obtain the fault code corresponding to the fault type;
    所述故障检测的结果的输出包括:The output of the result of the fault detection includes:
    输出所述故障码。Output the fault code.
  10. 根据权利要求1所述的方法,其中,所述根据所述部件状态信息进行故障检测包括以下至少一种:The method according to claim 1, wherein the fault detection according to the component status information comprises at least one of the following:
    根据所述部件状态信息进行通讯异常检测,所述通讯异常检测包括误码检测、丢包检测及超时检测中的至少一个;Perform communication anomaly detection according to the component state information, and the communication anomaly detection includes at least one of error code detection, packet loss detection and timeout detection;
    根据所述部件状态信息进行温湿度检测,所述温湿度检测包括根据温湿度传感器采集的数据进行阈值判断;Performing temperature and humidity detection according to the component state information, the temperature and humidity detection includes performing threshold judgment according to data collected by the temperature and humidity sensor;
    根据所述部件状态信息进行使用寿命检测,所述使用寿命检测包括内窥镜插拔接口、内窥镜及图像主机内部Flash、图像主机风扇以及电源模块中的至少一个的使用寿命检测。The service life detection is performed according to the component state information, and the service life detection includes the service life detection of at least one of the endoscope plug-in interface, the internal Flash of the endoscope and the image host, the fan of the image host, and the power supply module.
  11. 一种医疗工具检测系统,包括:医疗工具、图像处理主机、照明光源主机以及显示器;其中,所述图像处理主机以及所述照明光源主机分别与所述医疗工具相连接,所述显示器与所述图像处理主机相连接;A medical tool detection system, comprising: a medical tool, an image processing host, a lighting source host, and a display; wherein, the image processing host and the lighting source host are respectively connected to the medical tool, and the display is connected to the The image processing host is connected;
    所述医疗工具用于采集图像;the medical tool is used to acquire images;
    所述照明光源主机用于提供医用冷光源;The lighting source host is used to provide medical cold light source;
    所述图像处理主机用于执行权利要求1至10中任一项所述的医疗工具检测方法;The image processing host is used to execute the medical tool detection method described in any one of claims 1 to 10;
    所述显示器用于显示所述图像整体性能参数检测的结果和/或故障检测的结果。The display is used for displaying the detection result of the overall performance parameter of the image and/or the fault detection result.
  12. 根据权利要求11所述的系统,其中,所述图像处理主机通过光纤与所述医疗工具相连接,以获取所述医疗工具采集的图像。The system according to claim 11, wherein the image processing host is connected to the medical tool through an optical fiber, so as to obtain images collected by the medical tool.
  13. 根据权利要求11所述的系统,其中,所述图像处理主机通过串口与所述医疗工具相连接,以获取所述医疗工具的部件状态信息。The system according to claim 11, wherein the image processing host is connected to the medical tool through a serial port, so as to obtain the status information of the medical tool components.
  14. 根据权利要求11所述的系统,其中,所述显示器通过HDMI线缆、DVI线缆或DP线缆与所述图像处理主机相连接。The system according to claim 11, wherein the display is connected to the image processing host through an HDMI cable, a DVI cable or a DP cable.
  15. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现权利要求1至10中任一项所述的方法的步骤。A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method according to any one of claims 1 to 10 when executing the computer program.
  16. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至10中任一项所述的方法的步骤。A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
PCT/CN2022/133371 2021-11-23 2022-11-22 Medical tool inspection method and system, computer device, and storage medium WO2023093693A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111393059.8A CN114359135A (en) 2021-11-23 2021-11-23 Medical tool detection method, system, computer device and storage medium
CN202111393059.8 2021-11-23

Publications (1)

Publication Number Publication Date
WO2023093693A1 true WO2023093693A1 (en) 2023-06-01

Family

ID=81096115

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/133371 WO2023093693A1 (en) 2021-11-23 2022-11-22 Medical tool inspection method and system, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN114359135A (en)
WO (1) WO2023093693A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117352153A (en) * 2023-12-04 2024-01-05 青岛量谷无线科技有限公司 Medicine quality monitoring and real-time reporting method for medical refrigerator
CN117373635A (en) * 2023-08-01 2024-01-09 上海昆亚医疗器械股份有限公司 Intelligent management method and system for medical equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114359135A (en) * 2021-11-23 2022-04-15 上海微创医疗机器人(集团)股份有限公司 Medical tool detection method, system, computer device and storage medium
CN115277985A (en) * 2022-06-24 2022-11-01 江苏济远医疗科技有限公司 Multifunctional endoscope image processing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107421719A (en) * 2017-05-17 2017-12-01 何文胜 A kind of endoscope performance device for fast detecting and its detection method
JP2018198855A (en) * 2017-05-29 2018-12-20 オリンパス株式会社 Endoscope processor
CN110232688A (en) * 2019-07-12 2019-09-13 上海联影智能医疗科技有限公司 Medical image system, method, computer equipment and readable storage medium storing program for executing
CN110751605A (en) * 2019-10-16 2020-02-04 深圳开立生物医疗科技股份有限公司 Image processing method and device, electronic equipment and readable storage medium
CN114359135A (en) * 2021-11-23 2022-04-15 上海微创医疗机器人(集团)股份有限公司 Medical tool detection method, system, computer device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107421719A (en) * 2017-05-17 2017-12-01 何文胜 A kind of endoscope performance device for fast detecting and its detection method
JP2018198855A (en) * 2017-05-29 2018-12-20 オリンパス株式会社 Endoscope processor
CN110232688A (en) * 2019-07-12 2019-09-13 上海联影智能医疗科技有限公司 Medical image system, method, computer equipment and readable storage medium storing program for executing
CN110751605A (en) * 2019-10-16 2020-02-04 深圳开立生物医疗科技股份有限公司 Image processing method and device, electronic equipment and readable storage medium
CN114359135A (en) * 2021-11-23 2022-04-15 上海微创医疗机器人(集团)股份有限公司 Medical tool detection method, system, computer device and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117373635A (en) * 2023-08-01 2024-01-09 上海昆亚医疗器械股份有限公司 Intelligent management method and system for medical equipment
CN117373635B (en) * 2023-08-01 2024-04-09 上海昆亚医疗器械股份有限公司 Intelligent management method and system for medical equipment
CN117352153A (en) * 2023-12-04 2024-01-05 青岛量谷无线科技有限公司 Medicine quality monitoring and real-time reporting method for medical refrigerator
CN117352153B (en) * 2023-12-04 2024-02-20 青岛量谷无线科技有限公司 Medicine quality monitoring and real-time reporting method for medical refrigerator

Also Published As

Publication number Publication date
CN114359135A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
WO2023093693A1 (en) Medical tool inspection method and system, computer device, and storage medium
CN111339854B (en) Temperature measuring method, temperature measuring device, robot and computer storage medium
EP2509332B1 (en) Automatic test system for digital display systems
CN109191451B (en) Abnormality detection method, apparatus, device, and medium
CN111202504A (en) Abnormal object management method, system, machine readable medium and equipment
JP2001161676A (en) Method and system for diagnosing trouble in imaging device
US8610769B2 (en) Medical monitor data collection system and method
CN115670349A (en) Self-checking method and device of medical endoscope system and medical endoscope system
US11024034B2 (en) Image segmentation confidence determination
US20130034213A1 (en) Method and system for monitoring mishandling of a digital x-ray detector
US20180344131A1 (en) Endoscope control device, endoscope maintenance support method, and endoscope maintenance support program
JP7481976B2 (en) Anomaly score calculation device, anomaly score calculation method, and program
JP2016186779A (en) Process diagnostic apparatus, process diagnostic method, and process diagnostic program
JP2022068043A (en) Medical image processing device and medical image processing system
US9530291B2 (en) Systems and methods for providing qualitative indication of vibration severity while recording
US11478198B2 (en) Physiological parameter signal fusion processing method, apparatus, and system
US8339121B2 (en) Oscillograph and signal identifying method of a serial data bus using the oscillograph
CN111291239B (en) Method, device, equipment and storage medium for testing unit
US11393087B2 (en) Objective analysis of medical image data for white matter abnormality
US10426425B2 (en) Control device, control system, radiation imaging system, control method, and storage medium
CN115426947A (en) SP02 applet: AI-assisted SP02 measurement APP
CN111191638A (en) Face information and body temperature information detection method and system of causal model
TWI792086B (en) Mobile equipment diagnostic device and method for displaying equipment diagnostic information
US20110282665A1 (en) Method for measuring environmental parameters for multi-modal fusion
CN110101402A (en) Detection device and its detection method, the detection device with detection device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22897776

Country of ref document: EP

Kind code of ref document: A1