Image ghosting detection method and device, electronic equipment and storage medium

By performing nonlinear grayscale transformation and normalization on AR glasses images, combined with image clustering and brightness deviation analysis, the reliability problem of ghost detection in AR glasses waveguide lenses was solved, achieving more efficient ghost detection.

CN119027441APending Publication Date: 2024-11-26ZHUHAI MOJIE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411034399.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In existing technologies, the optical waveguide lenses of AR glasses are prone to ghosting problems during the manufacturing process, resulting in image ghosting, which affects the user experience, and the reliability of manual inspection is not high.

Method used

By performing image preprocessing on the first image, including nonlinear grayscale transformation and normalization, the ghost detection region is determined and image clustering is performed. The width and brightness deviation information of the ghost region are calculated to generate the ghost detection result.

Benefits of technology

It improves the reliability and accuracy of image ghosting detection, enabling more accurate identification and assessment of ghosting problems, and ensuring that the optical performance of head-mounted display devices meets requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119027441A_ABST
    Figure CN119027441A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of optical display, and provides an image ghosting detection method and device, electronic equipment and a storage medium, and the method comprises the steps: carrying out the image preprocessing of a first image, and obtaining a corresponding second image; determining at least one ghosting detection area in the second image, performing image clustering processing, and determining a main body area and at least one ghosting area corresponding to each ghosting detection area; determining the width corresponding to each ghosting area; determining brightness deviation information of each ghosting area and the main body area; and generating a ghosting detection result according to the width and the brightness deviation information. According to the embodiment of the invention, the reliability of image ghosting detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical display technology, and in particular to an image ghosting detection method, device, electronic device and storage medium. Background Art

[0002] Nowadays, head-mounted display devices such as AR (Augmented Reality) glasses and VR (Virtual Reality) glasses have been applied to navigation, gaming, education, medical treatment and other fields. Taking AR glasses as an example, in the process of making the optical waveguide lenses of AR glasses, due to various factors such as uneven mold stress distribution and non-parallel surfaces, the optical waveguide lenses may have ghosting problems, which will cause the images projected by AR glasses to have ghosting problems, thus affecting the user experience. Therefore, it is particularly important to perform ghosting detection. At present, it is generally detected manually, and the reliability is not high.

[0003] Therefore, how to improve the reliability of image ghosting detection becomes an urgent problem to be solved. Summary of the invention

[0004] The present application provides an image ghosting detection method, device, electronic device and storage medium, aiming to improve the reliability of image ghosting detection.

[0005] To achieve the above object, the present application provides an image ghosting detection method, the image ghosting detection method comprising:

[0006] Performing image preprocessing on the first image to obtain a corresponding second image;

[0007] Determine at least one ghost detection area in the second image, and perform image clustering processing to determine a main body area and at least one ghost area corresponding to each of the ghost detection areas;

[0008] Determine the width corresponding to each of the ghosting areas;

[0009] Determine brightness deviation information between each of the ghost areas and the main area;

[0010] A ghosting detection result is generated according to the width and the brightness deviation information.

[0011] In addition, to achieve the above-mentioned purpose, the present application also provides an image ghosting detection device, the image ghosting detection device comprising a memory and a processor;

[0012] The memory is used to store computer programs;

[0013] The processor is used to execute the computer program and implement the steps of the above-mentioned image ghosting detection method when executing the computer program.

[0014] In addition, to achieve the above-mentioned purpose, the present application also provides an electronic device, which includes the image ghosting detection device as described above.

[0015] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned image ghosting detection method are implemented.

[0016] The present application discloses an image ghosting detection method, device, electronic device and storage medium. The method performs image preprocessing on a first image to obtain a corresponding second image, determines at least one ghosting detection area in the second image, and performs image clustering processing to determine a main area and at least one ghosting area corresponding to each ghosting detection area, determines the width corresponding to each ghosting area, determines the brightness deviation information between each ghosting area and the main area, and then generates a ghosting detection result based on the width and brightness deviation information, thereby improving the reliability of image ghosting detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 is a schematic flow chart of the steps of an image ghosting detection method provided in an embodiment of the present application;

[0019] Figure 2 is a schematic diagram of a ghosting detection area in a lateral direction provided by an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of a ghosting detection area in a vertical direction provided by an embodiment of the present application;

[0021] Figure 4 This is a schematic flow chart of the steps of performing image preprocessing on a first image to obtain a corresponding second image, provided in an embodiment of the present application;

[0022] Figure 5 is a schematic diagram of a grayscale image obtained after the first image is subjected to nonlinear grayscale transformation;

[0023] Figure 6 yes Figure 5Schematic diagram of the image after the grayscale image in is normalized;

[0024] Figure 7 yes Figure 6 A schematic diagram of a second image obtained after performing top-hat transformation on the image in;

[0025] Figure 8 yes Figure 7 A schematic diagram of a screenshot corresponding to one of the ghost detection areas of the second image in FIG. 1 ;

[0026] Fig. 9 is a schematic diagram of a main area and a ghosting area provided in an embodiment of the present application;

[0027] Fig.10 is a schematic flow chart of the steps of determining the brightness deviation information of each of the ghost areas and the main area provided by an embodiment of the present application;

[0028] Fig.11 It is a schematic block diagram of an image ghosting detection device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0030] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0031] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0032] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0033] The embodiments of the present application provide an image ghosting detection method, device, electronic device and storage medium, which are used to achieve the effect of improving the reliability of image ghosting detection.

[0034] See also Figure 1 , Figure 1 1 is a flow chart of an image ghosting detection method provided in an embodiment of the present application. The method can be applied to an image ghosting detection device, or to an electronic device including an image ghosting detection device. The application scenario of the method is not limited in the present application.

[0035] like Figure 1 As shown, the image ghosting detection method specifically includes steps S101 to S105.

[0036] S101. Perform image preprocessing on a first image to obtain a corresponding second image.

[0037] The first image is an image projected by a head mounted display device. In actual scenes, the ghost position in the image is generally darker than the main position. Usually, the main grayscale value can reach 30 times the ghost grayscale value. In order to reflect the ghost on the image, the first image is exemplarily a 16-bit image, and each pixel can display 65536 colors (0-65535). For example, assuming that the original image is an 8-bit image, the original image is enhanced to obtain a 16-bit first image.

[0038] Exemplarily, at least one area of ​​the image is pre-set as a ghost detection area and a corresponding positioning area.

[0039] For example, ghosting detection needs to detect both horizontal and vertical directions. For the horizontal direction, Figure 2 As shown, Figure 3 The two circle areas are the positioning areas, which are used for image positioning, and the five horizontal line areas are the ghost detection areas, which are used for ghost detection. Figure 2 As shown, Figure 3 The two circle areas in the middle are the positioning areas, which are used for positioning, and the five vertical line areas are the ghost detection areas, which are used for ghost detection.

[0040] In order to better perform ghost detection, the first image is preprocessed to obtain a corresponding second image. The image preprocessing includes but is not limited to grayscale transformation processing, normalization processing, etc.

[0041] In some embodiments, Figure 4 As shown, step S101 may include sub-step S1011 and sub-step S1012.

[0042] S1011, performing nonlinear grayscale transformation on the first image to obtain a grayscale image;

[0043] S1012: Normalize the grayscale image to obtain the second image.

[0044] Exemplarily, a nonlinear grayscale transformation is performed on the first image according to the following formula (1):

[0045] G = g Exponen t (1)

[0046] Among them, g is the grayscale value of the first image, G is the grayscale value of the grayscale image after the nonlinear grayscale transformation, Exponent is the exponent, and the specific value can be flexibly set according to the actual situation. There is no specific restriction in this application. For example, Exponent can take the value of 0.25, 0.5, 2, 3, 4, etc.

[0047] For example, Figure 3 The image shown is taken as an example of the first image before processing. After the first image is subjected to nonlinear grayscale transformation, the obtained grayscale image is as follows Figure 5 shown.

[0048] After obtaining the grayscale image, the grayscale image is normalized, for example, the grayscale image is normalized to 0-255 to achieve contrast stretching, so that ghosting detection can be performed more accurately.

[0049] Exemplarily, the grayscale image is normalized according to the following formula (2):

[0050]

[0051] Among them, Q is the gray value of the normalized second image, G Max is the maximum grayscale value in the grayscale image; G Min is the minimum grayscale value in the grayscale image.

[0052] For example, Figure 5 Taking the grayscale image shown in as an example, after normalizing the grayscale image, the normalized image obtained is as follows Figure 6 As shown, the normalized image is used as the second image.

[0053] contrast Figure 3 and Figure 6 It can be clearly seen that the ghost and the subject are more clearly distinguished in the second image than in the first image, so that ghost detection can be performed more accurately.

[0054] In some embodiments, normalizing the grayscale image to obtain the second image includes: normalizing the grayscale image, and performing a top-hat transformation on the normalized image to obtain the second image.

[0055] The process of normalizing the grayscale image can be referred to above, so it will not be repeated here. After that, the normalized image is processed by top-hat transformation. Top-hat transformation is a morphological image processing operation used to highlight small-scale brightness changes or small details in the image. This transformation is based on the difference between the opening operation of the image and the original image. The opening operation is to first erode the image and then perform an expansion operation. Its purpose is to smooth and refine the small structures in the image. The second image with a background grayscale value of almost 0 and a main grayscale value of 255 is obtained through top-hat transformation.

[0056] For example, Figure 6 Taking the normalized image shown in FIG. 1 as an example, after the normalized image is subjected to top-hat transformation, the second image obtained is as follows: Figure 7 shown.

[0057] Compared with the first image, the second image can highlight small-scale brightness changes or fine details in the image, thereby enabling more accurate ghost detection.

[0058] S102: Determine at least one ghost detection area in the second image, and perform image clustering processing to determine a main body area and at least one ghost area corresponding to each of the ghost detection areas.

[0059] Based on the set positioning area, the second image can be positioned, and then based on the set ghost detection area, at least one ghost detection area at the corresponding position of the second image can be determined. For example, the second image is rotated and aligned for positioning using two circular areas for grayscale matching, and multiple ghost detection areas of the second image are determined using five vertical line areas.

[0060] Each ghost detection area is intercepted, for example, Figure 7 The second image shown in FIG. 1 is used to capture each ghost detection area, and a screenshot corresponding to the ghost detection area in the upper right corner is obtained as shown in FIG. Figure 8 The screenshots are subjected to image clustering processing to determine the main body area and at least one ghost area corresponding to each ghost detection area.

[0061] In some embodiments, the image clustering processing is performed to determine the main area and at least one ghost area corresponding to each of the ghost detection areas, including: using a k-means clustering algorithm to perform image clustering processing to obtain multiple cluster areas corresponding to each of the ghost detection areas, and the multiple cluster areas include the main area and at least one of the ghost areas.

[0062] For example, the K-means clustering algorithm (Kmeans algorithm) is used to Figure 8 The screenshots shown are subjected to image clustering and divided into four types of areas, such as Fig. 9 As shown, there is a main area 1 corresponding to the middle white line, a transition area 2 corresponding to the white line and the ghost, a ghost area 3 and a background area 4.

[0063] S103: Determine the width corresponding to each of the ghosting areas.

[0064] After the ghosting area is determined, the distance from the leftmost to the rightmost side of the ghosting area is calculated to obtain the width of the ghosting area. Fig. 9 As shown, the distances between the left and right sides of the ghost area 3 are calculated to determine the width of the ghost area 3.

[0065] S104: Determine brightness deviation information between each of the ghost areas and the main area.

[0066] The brightness deviation information includes but is not limited to brightness ratio and brightness difference.

[0067] Exemplarily, after the main area and the ghost area are determined, a brightness meter is used to collect a brightness map based on the coordinates of the main area and the coordinates of the ghost area to obtain the brightness of the main area and the brightness of the ghost area, and the brightness deviation information between the ghost area and the main area is determined based on the brightness of the main area and the brightness of the ghost area.

[0068] In some embodiments, Fig.10 As shown, step S104 may include sub-step S1041 and sub-step S1042.

[0069] S1041, obtaining a first average brightness value corresponding to the main area, and obtaining a second average brightness value corresponding to each of the ghost areas;

[0070] S1042: Determine the brightness deviation information according to the first brightness mean value and the second brightness mean value.

[0071] After obtaining the brightness of the main area and the brightness of the ghost area, the average brightness corresponding to the main area and the average brightness corresponding to the ghost area are calculated according to the brightness of the main area and the brightness of the ghost area. For the convenience of distinguishing descriptions, the average brightness corresponding to the main area is referred to as the first average brightness, and the average brightness corresponding to the ghost area is referred to as the second average brightness.

[0072] Then, according to the first brightness average value and the second brightness average value, the brightness deviation information can be determined.

[0073] In some embodiments, determining the brightness deviation information according to the first brightness mean value and the second brightness mean value includes: calculating a ratio of the second brightness mean value to the first brightness mean value, and using the ratio as the brightness deviation information.

[0074] After obtaining the first brightness mean value and the second brightness mean value, the ratio of the second brightness mean value to the first brightness mean value is calculated, and the obtained ratio is used as brightness deviation information.

[0075] In some other embodiments, the absolute difference between the second brightness mean value and the first brightness mean value may also be calculated, and the absolute difference may be used as the brightness deviation information.

[0076] It should be noted that the determination of brightness deviation information is not limited to the above-mentioned methods, and no specific limitation is made in this application.

[0077] S105 . Generate a ghosting detection result according to the width and the brightness deviation information.

[0078] Through the previous steps, at least one set of width and brightness deviation information corresponding to each ghost detection area is obtained, and at least one set of width and brightness deviation information is used as a ghost control value, and a ghost detection result is generated according to at least one set of width and brightness deviation information. Exemplarily, after the ghost detection result is generated, the ghost detection result is output, for example, the ghost detection result is displayed on a display interface.

[0079] In some embodiments, the ghosting detection result is generated based on the width and the brightness deviation information, including: if the width exceeds a preset width range, or the brightness deviation information exceeds a preset brightness deviation range, then the ghosting detection result is determined to be unqualified; if the width is within the preset width range, and the brightness deviation information is within the preset brightness deviation range, then the ghosting detection result is determined to be qualified.

[0080] Among them, the specific values ​​of the preset width range and the preset brightness deviation range can be flexibly set according to actual conditions, and are not specifically limited in this application.

[0081] For example, taking the brightness deviation information as the brightness ratio of the second brightness average to the first brightness average as an example, the preset width range is 10-20 pixels, and the preset brightness deviation range is 3%-5%. In at least one set of width and brightness ratio values ​​obtained, if there is a width exceeding the range of 10-20 pixels, or there is a brightness ratio exceeding the range of 3%-5%, then the ghosting detection result is determined to be unqualified; if the widths are both within the range of 10-20 pixels and the brightness ratios are both within the range of 3%-5%, then the ghosting detection result is determined to be qualified.

[0082] Taking the quality inspection of the head-mounted display device as an example, the first image is the image projected by the head-mounted display device. If the ghosting inspection result based on the first image is qualified, it is determined that the head-mounted display device meets the optical performance requirements, the quality inspection is qualified, and the head-mounted display device is a good product. On the contrary, if the ghosting inspection result based on the first image is unqualified, it is determined that the head-mounted display device does not meet the optical performance requirements, the quality inspection is unqualified, and the head-mounted display device is a defective product.

[0083] In the above embodiment, by performing image preprocessing on the first image, a corresponding second image is obtained, at least one ghost detection area in the second image is determined, and image clustering processing is performed to determine the main area and at least one ghost area corresponding to each ghost detection area, determine the width corresponding to each ghost area, and determine the brightness deviation information between each ghost area and the main area. Then, based on the width and brightness deviation information, a ghost detection result is generated, thereby improving the reliability of image ghost detection.

[0084] See also Fig.11 , Fig.11 It is a schematic block diagram of an image ghosting detection device provided in an embodiment of the present application. The image ghosting detection device can be configured in a head-mounted display device to execute the aforementioned image ghosting detection method.

[0085] like Fig.11 As shown, the image ghosting detection device 200 may include a processor 210 and a memory 220, wherein the processor 210 and the memory 220 are connected via a bus, such as an I2C (Inter-integrated Circuit) bus.

[0086] Specifically, the processor 210 may be a micro-controller unit (MCU), a central processing unit (CPU), or a digital signal processor (DSP).

[0087] Specifically, the memory 220 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB disk, or a mobile hard disk, etc. The memory 220 stores various computer programs for the processor 210 to execute.

[0088] The processor 210 is used to run a computer program stored in the memory, and implements the following steps when executing the computer program:

[0089] Performing image preprocessing on the first image to obtain a corresponding second image;

[0090] Determine at least one ghost detection area in the second image, and perform image clustering processing to determine a main body area and at least one ghost area corresponding to each of the ghost detection areas;

[0091] Determine the width corresponding to each of the ghosting areas;

[0092] Determine brightness deviation information between each of the ghost areas and the main area;

[0093] A ghosting detection result is generated according to the width and the brightness deviation information.

[0094] In some embodiments, when the processor 210 implements the determination of the brightness deviation information between each of the ghost areas and the main area, it is configured to implement:

[0095] Obtaining a first average brightness value corresponding to the main area, and obtaining a second average brightness value corresponding to each of the ghost areas;

[0096] The brightness deviation information is determined according to the first brightness mean value and the second brightness mean value.

[0097] In some embodiments, when the processor 210 determines the brightness deviation information according to the first brightness mean value and the second brightness mean value, it is configured to implement:

[0098] A ratio of the second brightness average value to the first brightness average value is calculated, and the ratio is used as the brightness deviation information.

[0099] In some embodiments, when the processor 210 implements the image clustering process to determine the main body area and at least one ghost area corresponding to each ghost detection area, it is used to implement:

[0100] A k-means clustering algorithm is used to perform image clustering processing to obtain a plurality of clustering regions corresponding to each of the ghost detection regions, wherein the plurality of clustering regions include the main body region and at least one of the ghost regions.

[0101] In some embodiments, when implementing the image preprocessing of the first image to obtain the corresponding second image, the processor 210 is used to implement:

[0102] Performing a nonlinear grayscale transformation on the first image to obtain a grayscale image;

[0103] The grayscale image is normalized to obtain the second image.

[0104] In some embodiments, when the processor 210 performs the normalization process on the grayscale image to obtain the second image, it is configured to implement:

[0105] The grayscale image is normalized, and the normalized image is subjected to a top-hat transformation to obtain the second image.

[0106] In some embodiments, when the processor 210 generates a ghosting detection result according to the width and the brightness deviation information, it is configured to implement:

[0107] If the width exceeds a preset width range, or the brightness deviation information exceeds a preset brightness deviation range, determining that the ghosting detection result is unqualified;

[0108] If the width is within the preset width range, and the brightness deviation information is within the preset brightness deviation range, it is determined that the ghost detection result is qualified.

[0109] The image ghosting detection device 200 can execute the image ghosting detection method provided in the embodiment of the present application, and therefore can achieve the beneficial effects that can be achieved by the image ghosting detection method provided in the embodiment of the present application. Please refer to the previous embodiment for details, which will not be repeated here.

[0110] An embodiment of the present application also provides an electronic device, the electronic device includes an image ghosting detection device, the image ghosting detection device can be Fig.11 The image ghosting detection device 200 shown in FIG. Therefore, the electronic device can achieve the beneficial effects that can be achieved by the image ghosting detection method provided in the embodiment of the present application, which are detailed in the previous embodiment and will not be repeated here.

[0111] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the image ghosting detection method as described above are implemented.

[0112] Wherein, the computer-readable storage medium may be an internal storage unit of the image ghosting detection device or the head-mounted display device described in the aforementioned embodiment, such as a hard disk or memory of the image ghosting detection device or the head-mounted display device. The computer-readable storage medium may also be an external storage device of the image ghosting detection device or the head-mounted display device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital card (Secure Digital Card, SD Card), a flash card (Flash Card), etc. equipped on the image ghosting detection device or the head-mounted display device.

[0113] Since the computer program stored in the storage medium can execute any one of the image ghosting detection methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the image ghosting detection methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0114] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0115] The above description is only a specific implementation mode of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed in the present application, and these modifications or substitutions should be included in the protection scope of the present application.

Claims

1. An image ghosting detection method, characterized in that: The image ghosting detection method comprises: Performing image preprocessing on the first image to obtain a corresponding second image; Determine at least one ghost detection area in the second image, and perform image clustering processing to determine a main body area and at least one ghost area corresponding to each of the ghost detection areas; Determine the width corresponding to each of the ghosting areas; Determine brightness deviation information between each of the ghost areas and the main area; A ghosting detection result is generated according to the width and the brightness deviation information.

2. The image ghosting detection method according to claim 1, characterized in that: The determining of brightness deviation information between each of the ghost areas and the main area includes: Obtaining a first average brightness value corresponding to the main area, and obtaining a second average brightness value corresponding to each of the ghost areas; The brightness deviation information is determined according to the first brightness mean value and the second brightness mean value.

3. The image ghosting detection method according to claim 2, characterized in that: The determining the brightness deviation information according to the first brightness mean value and the second brightness mean value includes: A ratio of the second brightness average value to the first brightness average value is calculated, and the ratio is used as the brightness deviation information.

4. The image ghosting detection method according to claim 1, wherein: The performing of image clustering processing to determine the main body area and at least one ghost area corresponding to each of the ghost detection areas includes: A k-means clustering algorithm is used to perform image clustering processing to obtain a plurality of clustering regions corresponding to each of the ghost detection regions, wherein the plurality of clustering regions include the main body region and at least one of the ghost regions.

5. The image ghosting detection method according to claim 1, characterized in that: The performing image preprocessing on the first image to obtain a corresponding second image includes: Performing a nonlinear grayscale transformation on the first image to obtain a grayscale image; The grayscale image is normalized to obtain the second image.

6. The image ghosting detection method according to claim 5, characterized in that: The step of normalizing the grayscale image to obtain the second image comprises: The grayscale image is normalized, and the normalized image is subjected to a top-hat transformation to obtain the second image.

7. The image ghosting detection method according to any one of claims 1 to 6, characterized in that: The generating a ghosting detection result according to the width and the brightness deviation information includes: If the width exceeds a preset width range, or the brightness deviation information exceeds a preset brightness deviation range, determining that the ghosting detection result is unqualified; If the width is within the preset width range, and the brightness deviation information is within the preset brightness deviation range, it is determined that the ghost detection result is qualified.

8. An image ghosting detection device, characterized in that: The image ghosting detection device comprises a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program and implement the steps of the image ghosting detection method according to any one of claims 1 to 7 when executing the computer program.

9. An electronic device, characterized in that: The electronic device comprises the image ghosting detection device according to claim 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the image ghost detection method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Photoelectric tracking system based on turntable control

    CN104677203A

  • SAR image ghosting automatic detection algorithm

    CN114612766A

  • Textile fabric intelligent printing and dyeing method and system based on data identification pattern

    CN114862836A

  • Method for measuring ghosting of head-up display

    CN115527472A

  • Manufacturing method for liquid crystal display, and device and method for inspecting ghost defect for liquid crystal display

    JP2003344220A