A medical display performance detection method, system, device and storage medium

The feature images of medical displays are obtained through image processing technology, and the comparison of grayscale feature values ​​with standard images is solved, and the problem of time-consuming manual detection is achieved, which can achieve fast and accurate display performance detection, and improve detection efficiency and accuracy.

CN114862801BActive Publication Date: 2024-11-26NANJING JUSHA DISPLAY TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210508309.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-11
Publication Date
2024-11-26
Estimated Expiration
2042-05-11

AI Technical Summary

Technical Problem

The display performance detection process of medical displays relies on manual visual inspection, which is low in automation and takes a long time, making it difficult to quickly and accurately evaluate the performance of the display.

Method used

The feature image is obtained by using image processing technology, and the error comparison between the grayscale feature value and the preset display performance evaluation criteria is used to determine the detection results, including geometric transformation, normalization, edge detection and binary segmentation, and use the CCD camera. Images are collected and analyzed by computer programs.

Benefits of technology

It realizes fast and accurate detection of the performance of medical displays, can accurately identify places that do not meet the image quality requirements, and improves the detection efficiency and accuracy in the display production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114862801B_ABST
    Figure CN114862801B_ABST
Patent Text Reader

Abstract

The present invention provides a method, system, device and storage medium for detecting the display performance of a medical display. The detection method includes the following steps: obtaining a characteristic image collected from a display to be tested and preprocessed by image processing technology; performing calculation and analysis on the preprocessed characteristic image to obtain the grayscale characteristic value of the characteristic image, wherein the grayscale characteristic value includes a grayscale ratio and a grayscale difference; performing error comparison according to a preset display performance evaluation standard and the grayscale characteristic value to determine the detection result. The present invention is based on comparing the grayscale ratio and grayscale difference of the image to be tested, and comparing the error with the display performance evaluation standard obtained by formulating the standard image, and can accurately and quickly detect the areas in the test image that do not meet the image quality requirements, providing a better solution for display performance detection in the display production process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method, system, device and storage medium for detecting display performance of a medical display, and belongs to the field of display detection. Background Art

[0002] With the rapid development of hospital digitization and the increasing maturity and popularity of picture archiving and communication system (PACS), image diagnosis has gradually changed from traditional hard copy reading to soft copy reading, and the accuracy of diagnosis depends to a large extent on the image information displayed by medical monitors. Therefore, the quality of monitor display has received more and more attention. The AAPM TG18 and TG270 standards provide reference standards for the image quality of medical monitors and develop test images for monitor performance parameters.

[0003] At present, the display performance detection process of medical displays relies on manual visual inspection. In view of the problems of low automation and long time consumption of current display performance detection, a medical display performance detection device and method are designed. The system can quickly and accurately evaluate the performance indicators of medical displays. Summary of the invention

[0004] The purpose of the present invention is to provide a method, system, device and storage medium for detecting the display performance of a medical display, which can accurately and quickly detect areas in a test image that do not meet image quality requirements, thereby providing a better solution for display performance detection during the display production process.

[0005] In order to achieve the above object, the present invention adopts the following technical solution:

[0006] A method for detecting display performance of a medical display comprises the following steps:

[0007] Acquire a feature image collected from the display to be tested and preprocessed by image processing technology;

[0008] Performing calculation and analysis on the preprocessed feature image to obtain grayscale feature values ​​of the feature image, wherein the grayscale feature values ​​include grayscale ratio and grayscale difference;

[0009] The error is compared according to the preset display performance evaluation standard and grayscale characteristic value to judge the detection result.

[0010] Furthermore, the image processing technology preprocessing includes the following steps:

[0011] Converting the acquired test image into a geometrically corrected image through geometric transformation;

[0012] According to the linear relationship between the imaging photosensitive pixels and the incident light intensity, the geometrically corrected image is converted into a normalized image;

[0013] The area to be detected is extracted from the normalized image through canny edge detection to obtain a feature image.

[0014] Furthermore, the method for setting the display performance evaluation standard includes:

[0015] Get a standard image;

[0016] Perform image segmentation processing on the standard image to obtain a standard image data set;

[0017] The detection contents of the standard image dataset are annotated to obtain the display performance evaluation criteria.

[0018] Furthermore, the standard images include images provided in the AAPM-TG18 standard and / or the TG270 standard.

[0019] Furthermore, the preprocessed feature image is subjected to computational analysis, including:

[0020] The feature image is segmented into multiple unit images through image segmentation technology, and the unit image is segmented using a binary threshold to segment the unit image into a binary image including the foreground and the background. The segmentation calculation formula of the binary image includes:

[0021]

[0022] (1) Where T is the segmentation threshold, and f(x,y) is the pixel value at image coordinate (x,y);

[0023] After the unit image is divided into binary images, the grayscale ratio is calculated as follows:

[0024]

[0025] (2) where N(1) is the number of pixels with a pixel value of 1, N(0) is the number of pixels with a pixel value of 0, S(character) is the area occupied by the character in the test area image, S(intercepted area) is the area in the intercepted test area image, and Δδ is the preset area error range;

[0026] Grayscale difference calculation is performed as follows:

[0027] ΔG=∑G 背景 / N 背景 -∑G 前景 / N 背景 , (3)

[0028] Where ΔG is the grayscale difference between the foreground and background of the feature image, ∑G 前景 is the sum of the grayscale values ​​of all pixels in the foreground, ∑G 背景 is the sum of the gray values ​​of all pixels in the background, N 前景 and N 背景 The number of pixels contained in the foreground and background.

[0029] Furthermore, according to the preset display performance evaluation standard and the grayscale characteristic value, the error comparison is performed to judge the detection result, including judging the detection result by formula (4), which is as follows:

[0030]

[0031] (4) In the formula, ΔG 实际 is the grayscale difference between the foreground and background in the standard image, is the preset grayscale error range;

[0032] If the above conditions are met, the performance of the display to be tested is judged to meet the standards, otherwise it does not meet the standards.

[0033] A second object of the present invention is to provide a detection system for display performance of a medical display, comprising:

[0034] An acquisition module is used to acquire a test image displayed on the display to be tested, and pre-process the test image by image processing technology to obtain a feature image;

[0035] An image processing module is used to obtain the characteristic image output by the acquisition module, and to perform calculation and analysis on the characteristic image to obtain the grayscale characteristic value of the characteristic image; the grayscale characteristic value includes a grayscale ratio and a grayscale difference;

[0036] The test module is used to compare the grayscale characteristic value of the characteristic image with the preset display performance evaluation standard to determine the test result.

[0037] Furthermore, the acquisition module includes a CCD camera.

[0038] The third object of the present invention is to provide a device for detecting display performance of a medical display, comprising a processor and a storage medium;

[0039] The storage medium is used to store instructions;

[0040] The processor is used to operate according to the instructions to execute the method for detecting the display performance of the medical display.

[0041] A fourth object of the present invention is to provide a computer-readable storage medium having a computer program stored thereon for use in the method for detecting the display performance of the medical display.

[0042] Compared with the prior art, the beneficial effects achieved by the present invention are:

[0043] The present invention is based on the grayscale ratio and grayscale difference of the image to be tested, and compares the error with the display performance evaluation standard formulated with the standard image. It can accurately and quickly detect the parts in the test image that do not meet the image quality requirements, and provides a better solution for display performance testing in the display production process. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 This is a flow chart of a method for detecting display performance of a medical display of the present invention;

[0045] Figure 2 A connection diagram of a detection system for display performance of a medical display according to the present invention;

[0046] Figure 3 It is a schematic diagram of the effect of implementing the method for detecting the display performance of a medical display of the present invention. DETAILED DESCRIPTION

[0047] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0048] Example 1

[0049] like Figure 1 As shown, this embodiment provides a method for detecting display performance of a medical display, which mainly includes the following stages:

[0050] Standard construction phase: pre-set the display performance evaluation standards of the monitor;

[0051] Testing phase: obtain the test image collected from the display to be tested, and obtain the grayscale feature value of the image through preprocessing and calculation analysis;

[0052] Result comparison stage: perform error comparison based on display performance evaluation standards and grayscale feature values ​​to determine the test results.

[0053] 1. Production display performance evaluation standards

[0054] Acquire a standard image. In this embodiment, the standard image includes an image provided in the AAPM-TG18 standard and / or the TG270 standard;

[0055] Perform image segmentation processing on the standard image to obtain a standard image data set;

[0056] The detection contents of the standard image data set are annotated to obtain the display performance evaluation standard; the annotated detection contents are divided by grayscale ratio and grayscale difference, different areas are annotated, the difference between the displayed content and the actual content is compared, and the error range of grayscale ratio and grayscale difference are formulated. The display performance evaluation standard is judged by the preset error standard of grayscale feature value, which is defined as: 0-255 (8bit) is divided into 2 grayscale ranges 0-128 and 129-255, grayscale difference is not allowed in the range of 0-128, and grayscale difference of plus or minus 1 is allowed in the range of 129-255.

[0057] 2. Sampling test

[0058] Acquire a feature image collected from the display to be tested and preprocessed by image processing technology;

[0059] Performing calculation and analysis on the preprocessed feature image to obtain grayscale feature values ​​of the feature image, wherein the grayscale feature values ​​include grayscale ratio and grayscale difference;

[0060] The error is compared according to the preset display performance evaluation standard and grayscale characteristic value to judge the detection result.

[0061] Among them, the image processing technology preprocessing includes the following steps:

[0062] Converting the acquired test image into a geometrically corrected image through geometric transformation;

[0063] According to the linear relationship between the imaging photosensitive pixels and the incident light intensity, the geometrically corrected image is converted into a normalized image;

[0064] The area to be detected is extracted from the normalized image through canny edge detection to obtain the feature image, such as Figure 3 As shown in 3a.

[0065] Perform computational analysis on the preprocessed feature image, including:

[0066] like Figure 3 As shown in 3b, the feature image is segmented into multiple unit images by image segmentation technology, and the unit image is segmented by binary threshold value to segment the unit image into a binary image including foreground and background. The segmentation calculation formula of the binary image includes:

[0067]

[0068] (1) Where T is the segmentation threshold, and f(x,y) is the pixel value at image coordinate (x,y);

[0069] After the unit image is divided into binary images, the grayscale ratio is calculated as follows:

[0070]

[0071] (2) In the formula, N(1) is the number of pixels with a pixel value of 1, N(0) is the number of pixels with a pixel value of 0, S(character) is the area occupied by the character in the test area image, S(intercepted area) is the area of ​​the intercepted test area image, Δδ is the preset area error range, and when there is no geometric distortion in the displayed image, Δδ is 0;

[0072] Grayscale difference calculation is performed as follows:

[0073] ΔG=∑G 背景 / N 背景 -∑G 前景 / N 背景 , (3)

[0074] Where ΔG is the grayscale difference between the foreground and background of the feature image, ∑G 前景 is the sum of the grayscale values ​​of all pixels in the foreground, ∑G 背景 is the sum of the gray values ​​of all pixels in the background, N 前景 and N 背景 The number of pixels contained in the foreground and background.

[0075] According to the preset display performance evaluation standard and the grayscale characteristic value, the error comparison is performed to judge the detection result, including judging the detection result through formula (4), which is as follows:

[0076]

[0077] (4) In the formula, ΔG 实际 is the grayscale difference between the foreground and background in the standard image, The grayscale error range is preset; 0-255 (8bit) is divided into two grayscale ranges: 0-128 and 129-255. No grayscale difference is allowed in the range of 0-128, and a grayscale difference of plus or minus 1 is allowed in the range of 129-255.

[0078] If the above conditions are met, the performance of the display to be tested is judged to meet the standards, otherwise it does not meet the standards.

[0079] Example 2

[0080] This embodiment provides a system for detecting display performance of a medical display, including the following functional modules:

[0081] An acquisition module is used to acquire a test image displayed on the display to be tested, and pre-process the test image by image processing technology to obtain a feature image;

[0082] An image processing module is used to obtain the characteristic image output by the acquisition module, and to perform calculation and analysis on the characteristic image to obtain the grayscale characteristic value of the characteristic image; the grayscale characteristic value includes a grayscale ratio and a grayscale difference;

[0083] The test module is used to compare the grayscale characteristic value of the characteristic image with the preset display performance evaluation standard to determine the test result.

[0084] The acquisition module uses a CCD camera, and the functions of the image processing module and the test module are executed by a host computer connected to the CCD camera. The host computer with the software installed is connected to the CCD camera through a USB serial port, and the host computer is connected to the medical display to be tested through a USB serial port and a signal line (DVI / DP / DVI). The host computer with the host computer software installed transmits the test image to the medical display to be tested, and the image is displayed on the display in a proportional manner; the host computer with the software installed controls the CCD camera to acquire the image displayed on the medical display to be tested, and transmits the image data to the host computer through the serial port, and the software in the host computer processes the data.

[0085] Example 3

[0086] like Figure 2 As shown, this embodiment provides a device for detecting display performance of a medical display, including a processor and a storage medium;

[0087] The storage medium is used to store instructions;

[0088] The processor is configured to operate according to the instructions to perform the steps of the following method:

[0089] Collecting a test image displayed on the display to be tested, and preprocessing the test image by image processing technology to obtain a feature image;

[0090] Acquire the characteristic image output by the acquisition module, and perform calculation and analysis on the characteristic image to obtain the grayscale characteristic value of the characteristic image; the grayscale characteristic value includes grayscale ratio and grayscale difference;

[0091] The grayscale characteristic value of the characteristic image is compared with the preset display performance evaluation standard to determine the detection result.

[0092] Example 4

[0093] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the following method are implemented:

[0094] Collecting a test image displayed on the display to be tested, and preprocessing the test image by image processing technology to obtain a feature image;

[0095] Acquire the characteristic image output by the acquisition module, and perform calculation and analysis on the characteristic image to obtain the grayscale characteristic value of the characteristic image; the grayscale characteristic value includes grayscale ratio and grayscale difference;

[0096] The grayscale characteristic value of the characteristic image is compared with the preset display performance evaluation standard to determine the detection result.

[0097] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0098] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0099] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0100] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0101] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for detecting display performance of a medical display, characterized in that: The following steps are involved: Acquire a feature image collected from the display to be tested and preprocessed by image processing technology; The preprocessed feature image is analyzed and calculated to obtain the grayscale feature value of the feature image, wherein the grayscale feature value includes a grayscale ratio and a grayscale difference, including: The feature image is segmented into multiple unit images through image segmentation technology, and the unit image is segmented using a binary threshold to segment the unit image into a binary image including the foreground and the background. The segmentation calculation formula of the binary image includes: , (1) (1) In the formula, T is the segmentation threshold, is the pixel value at image coordinate (x,y); After the unit image is divided into binary images, the grayscale ratio is calculated as follows: , (2) (2) Where N(1) is the number of pixels with a pixel value of 1, N(0) is the number of pixels with a pixel value of 0, S(character) is the area occupied by the character in the test area image, S(intercepted area) is the area of ​​the intercepted test area image, and ∆δ is the preset area error range; Grayscale difference calculation is performed as follows: , (3) In the formula, is the grayscale difference between the foreground and background of the feature image, is the sum of the grayscale values ​​of all pixels in the foreground, is the sum of the grayscale values ​​of all pixels in the background, and The number of pixels contained in the foreground and background; Perform error comparison based on the preset display performance evaluation standard and grayscale characteristic value to determine the test result; The method for setting the display performance evaluation standard includes: Acquire standard images, where the standard images include images provided in the AAPM-TG18 standard and / or the TG270 standard; Perform image segmentation processing on the standard image to obtain a standard image data set; The detection contents of the standard image data set are annotated to obtain a display performance evaluation standard; the annotated detection contents are divided according to grayscale ratio and grayscale difference, different areas are annotated, the difference between the displayed content and the actual content is compared, and the error range of the grayscale ratio and the error range of the grayscale difference are formulated; the display performance evaluation standard is judged by a preset error standard of the grayscale feature value, which is defined as: dividing the 0-255 grayscale range into a 0-128 grayscale range and a 129-255 grayscale range, no grayscale difference is allowed in the 0-128 grayscale range, and a grayscale difference of plus or minus 1 is allowed in the 129-255 grayscale range.

2. The method for detecting display performance of a medical display according to claim 1, characterized in that: The image processing technology preprocessing includes the following steps: Converting the acquired test image into a geometrically corrected image through geometric transformation; According to the linear relationship between the imaging photosensitive pixels and the incident light intensity, the geometrically corrected image is converted into a normalized image; The area to be detected is extracted from the normalized image through canny edge detection to obtain a feature image.

3. The method for detecting display performance of a medical display according to claim 1, characterized in that: According to the preset display performance evaluation standard and grayscale characteristic value, the error comparison is performed to judge the detection result, including judging the detection result through formula (4), which is as follows: , (4) (4) In the formula, is the grayscale difference between the foreground and background in the standard image, is the preset grayscale error range; If the above conditions are met, the performance of the display to be tested is judged to meet the standards, otherwise it does not meet the standards.

4. A system for detecting display performance of a medical display, characterized in that: include: An acquisition module is used to acquire a test image displayed on the display to be tested, and pre-process the test image by image processing technology to obtain a feature image; An image processing module is used to obtain the characteristic image output by the acquisition module, and to perform calculation and analysis on the characteristic image to obtain the grayscale characteristic value of the characteristic image; the grayscale characteristic value includes a grayscale ratio and a grayscale difference; The test module is used to compare the grayscale characteristic value of the characteristic image with the preset display performance evaluation standard to determine the test result; The image processing module calculates and analyzes the preprocessed feature image to obtain the grayscale feature value of the feature image, wherein the grayscale feature value includes a grayscale ratio and a grayscale difference, including: The feature image is segmented into multiple unit images through image segmentation technology, and the unit image is segmented using a binary threshold to segment the unit image into a binary image including the foreground and the background. The segmentation calculation formula of the binary image includes: , (1) (1) In the formula, T is the segmentation threshold, is the pixel value at image coordinate (x,y); After the unit image is divided into binary images, the grayscale ratio is calculated as follows: , (2) (2) Where N(1) is the number of pixels with a pixel value of 1, N(0) is the number of pixels with a pixel value of 0, S(character) is the area occupied by the character in the test area image, S(intercepted area) is the area of ​​the intercepted test area image, and ∆δ is the preset area error range; Grayscale difference calculation is performed as follows: , (3) In the formula, is the grayscale difference between the foreground and background of the feature image, is the sum of the grayscale values ​​of all pixels in the foreground, is the sum of the grayscale values ​​of all pixels in the background, and The number of pixels contained in the foreground and background; The method for setting the display performance evaluation standard by the test module includes: Acquire standard images, where the standard images include images provided in the AAPM-TG18 standard and / or the TG270 standard; Perform image segmentation processing on the standard image to obtain a standard image data set; The detection contents of the standard image data set are annotated to obtain a display performance evaluation standard; the annotated detection contents are divided according to grayscale ratio and grayscale difference, different areas are annotated, the difference between the displayed content and the actual content is compared, and the error range of the grayscale ratio and the error range of the grayscale difference are formulated; the display performance evaluation standard is judged by a preset error standard of the grayscale feature value, which is defined as: dividing the 0-255 grayscale range into a 0-128 grayscale range and a 129-255 grayscale range, no grayscale difference is allowed in the 0-128 grayscale range, and a grayscale difference of plus or minus 1 is allowed in the 129-255 grayscale range.

5. The medical display performance detection system according to claim 4, characterized in that: The acquisition module includes a CCD camera.

6. A device for detecting display performance of a medical display, characterized in that: including processor and storage medium; The storage medium is used to store instructions; The processor is used to operate according to the instructions to execute the method for detecting display performance of a medical display according to any one of claims 1 to 3.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: A method for detecting the display performance of a medical display as described in any one of claims 1 to 3.