A method and system for improving image detection speed

By obtaining the target image type and purpose information, performing digital processing and filtering and noise reduction, and combining the Roberts algorithm to extract image features, the problem of low image detection speed and accuracy caused by image noise interference in the existing technology is solved, achieving a more efficient image recognition.

CN117392404BInactive Publication Date: 2024-08-30ARMY ENG UNIV OF PLA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311456065.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-02
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, the speed and accuracy of image detection are low due to image noise interference.

Method used

By obtaining the target image type information and usage information, refer to the image feature library to determine the baseline image features, digitally process the target image to be detected and perform filtering and noise reduction, combine the Roberts algorithm for image edge recognition, and extract the target image features for content recognition.

Benefits of technology

It improves the speed and accuracy of image detection and reduces the impact of noise interference on image recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117392404B
    Figure CN117392404B
Patent Text Reader

Abstract

The present invention discloses a method and system for improving the speed of image detection, and relates to the field of data processing technology. The method comprises: receiving a target image to be detected, obtaining target image type information and target image usage information, referring to an image feature library, and determining a reference image feature; digitally processing the target image to be detected to generate a target digital image; filtering and denoising the target digital image to obtain a low-interference target digital image, performing image edge recognition, and obtaining multiple edge feature regions; traversing multiple edge feature regions, combining the reference image features, performing image feature extraction, obtaining the target image features, and performing image content recognition. The present invention solves the technical problem in the prior art that the speed and accuracy of image detection are low due to image noise interference, and achieves the technical effect of improving the detection speed and accuracy of the image by extracting image features through noise filtering combined with the Roberts algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method and a system for improving image detection speed. Background Art

[0002] With the development of image processing technology in machine vision, the real-time detection efficiency of visual inspection equipment is getting faster and faster, and the amount of image acquisition data is getting larger and larger. Correspondingly, the requirements for image detection and processing speed are getting higher and higher. At present, the main means of improving image processing speed is to improve image processing algorithms and optimize implementation algorithms. However, the existing processing algorithms will affect the accuracy of image recognition and the speed of image processing due to interference from image noise. Summary of the invention

[0003] The present application provides a method and system for improving image detection speed, which is used to solve the technical problem in the prior art that the speed and accuracy of image detection are low due to image noise interference.

[0004] The first aspect of the present application provides a method for improving image detection speed, the method comprising: receiving a target image to be detected, extracting basic information of the target image, obtaining target image type information and target image usage information; determining a reference image feature according to the target image type and the target image usage information, referring to an image feature library; digitizing the target image to be detected to generate a target digital image; filtering and denoising the target digital image to obtain a low-interference target digital image, wherein the low-interference target digital image comprises a plurality of target pixel coordinates and a plurality of target pixel grayscale values; performing image edge recognition based on the plurality of target pixel coordinates and the plurality of target pixel grayscale values ​​to obtain a plurality of edge feature regions; traversing the plurality of edge feature regions, combining the reference image features, performing image feature extraction to obtain target image features, and performing image content recognition based on the target image features.

[0005] In a second aspect of the present application, a system for improving image detection speed is provided, the system comprising: a target image basic information extraction module, the target image basic information extraction module is used to receive a target image to be detected, extract the target image basic information, and obtain the target image type information and the target image usage information; a reference image feature determination module, the reference image feature determination module is used to determine the reference image features according to the target image type and the target image usage information, with reference to an image feature library; a target digital image generation module, the target digital image generation module is used to digitize the target image to be detected and generate a target digital image; a low-interference target digital image acquisition module The low-interference target digital image acquisition module is used to filter and reduce noise on the target digital image to obtain a low-interference target digital image, wherein the low-interference target digital image includes multiple target pixel coordinates and multiple target pixel grayscale values; the edge feature region acquisition module is used to perform image edge recognition based on the multiple target pixel coordinates and the multiple target pixel grayscale values ​​to obtain multiple edge feature regions; the image content recognition module is used to traverse the multiple edge feature regions, combine the reference image features, perform image feature extraction, obtain target image features, and perform image content recognition based on the target image features.

[0006] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0007] The present application provides a method for improving image detection speed, which relates to the field of data processing technology. The method obtains target image type information and target image usage information, refers to an image feature library, determines a reference image feature, performs digital processing on the target image to be detected, and performs filtering and noise reduction on the target digital image to obtain a low-interference target digital image. By image edge recognition, multiple edge feature areas are obtained, and the target image features are extracted in combination with the reference image features to perform image content recognition. The method solves the technical problem of low speed and accuracy of image detection due to image noise interference in the prior art, and achieves the technical effect of improving image detection speed and accuracy by extracting image features through noise filtering combined with the Roberts algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0009] Figure 1A schematic diagram of a method for improving image detection speed provided in an embodiment of the present application;

[0010] Figure 2 A schematic diagram of a process for obtaining a low-interference target digital image in a method for improving image detection speed provided in an embodiment of the present application;

[0011] Figure 3 A schematic diagram of a flow chart of obtaining multiple edge feature regions in a method for improving image detection speed provided in an embodiment of the present application;

[0012] Figure 4 A schematic diagram of a system structure for improving image detection speed provided in an embodiment of the present application.

[0013] Explanation of reference numerals: target image basic information extraction module 11, reference image feature determination module 12, target digital image generation module 13, low-interference target digital image acquisition module 14, edge feature region acquisition module 15, image content recognition module 16. DETAILED DESCRIPTION

[0014] The present application provides a method for improving image detection speed, which is used to solve the technical problem in the prior art that the speed and accuracy of image detection are low due to image noise interference.

[0015] 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 only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0016] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products, or devices.

[0017] Embodiment 1

[0018] like Figure 1As shown, the present application provides a method for improving image detection speed, the method comprising:

[0019] P10: Receive the target image to be detected, extract the basic information of the target image, and obtain the target image type information and target image usage information;

[0020] It should be understood that the target image to be detected is received through the image receiving port, and the basic information of the target image is extracted, including the image source, acquisition time, occupied space size, etc., and then the target image type information and target image usage information are obtained. The target image type information includes the image content type, acquisition source, etc. For example, for different contents, including faces, scenery, scenes, etc., for different shooting devices, including high-definition surveillance cameras, mobile phone cameras, etc., the target image usage information is the use of the image to be detected, including face recognition, equipment defect recognition, etc. The detection focus of images with different uses is different, and the extracted image features are also different. For example, the focus of face recognition is iris recognition of the pupil. According to the target image type information and the target image usage information, the key detection features of the image can be determined.

[0021] P20: Determine the reference image feature according to the target image type and the target image usage information and with reference to the image feature library;

[0022] Optionally, according to the target image type and the target image usage information, picture acquisition feature type matching is performed with reference to an image feature library, the image feature library contains image acquisition feature types corresponding to pictures of various different types and purposes. For example, the acquisition feature types of facial images used for face recognition include facial features positions, facial features shapes, iris features, etc. The image feature library is constructed by collecting big data image recognition information, and through feature type matching, the image recognition feature type corresponding to the target image type and the target image usage information is matched from the image feature library as a reference image feature, which can be used as a reference for subsequent extraction of image features to be detected.

[0023] P30: Digitally process the target image to be detected to generate a target digital image;

[0024] Exemplarily, the target image to be detected is digitized, that is, the target image to be detected is converted into a digital image that can be processed by a computer through sampling and quantization. Specifically, a reference coordinate system is set based on the target image to be detected, and based on the reference coordinate system, all pixel points in the target image to be detected are assigned coordinate positions, and are encoded together with the corresponding pixel grayscale values, converted into a digital image, and a target digital image is generated to facilitate subsequent image feature recognition.

[0025] P40: filtering and denoising the target digital image to obtain a low-interference target digital image, wherein the low-interference target digital image includes a plurality of target pixel coordinates and a plurality of target pixel grayscale values;

[0026] Further, such as Figure 2 As shown, step P40 of the embodiment of the present application also includes:

[0027] P41: Based on the basic information of the target image, a first filtering operator is set;

[0028] P42: randomly collecting a first central pixel point according to the target digital image, and performing pixel mean calculation with reference to the first filter operator to obtain a mean calculation result;

[0029] P43: Determine the denoised pixel value of the first central pixel by referring to the mean calculation result;

[0030] P44: traverse the target digital image, determine multiple central pixel points, perform pixel mean calculation, obtain multiple denoised pixel points, and obtain the low-interference target digital image.

[0031] In a possible embodiment of the present application, in order to eliminate the interference of noise in the image on the recognition of image features, the target digital image is filtered and denoised, and the first filtering operator is set based on the basic information of the target image, that is, the size of the single filtering area is determined according to the basic information such as the clarity and image size of the basic image, and the first filtering operator is the pixel area range of the single filtering, such as 3*3, 5*5. Further, a pixel point is randomly selected from the target digital image as the first central pixel point, and the grayscale values ​​of all the pixel points in the pixel area range of the single filtering are averaged according to the first filtering operator to obtain the average calculation result.

[0032] Furthermore, the mean calculation result is used to replace the original grayscale value of the first central pixel point as the denoised pixel value of the first central pixel point, and so on, all pixel points of the target digital image are traversed to determine multiple central pixel points, and pixel mean calculations are performed according to the first filtering operator respectively, and the obtained mean calculation result is used to replace the original central pixel grayscale value to obtain multiple denoised pixel points, and then the low-interference target digital image is composed of multiple denoised pixel points, which has the effect of reducing the number of noises in the target digital image, thereby reducing noise interference.

[0033] P50: Based on the multiple target pixel coordinates and the multiple target pixel grayscale values, image edge recognition is performed to obtain multiple edge feature regions;

[0034] Further, such as Figure 3As shown, step P50 of the embodiment of the present application also includes:

[0035] P51: Construct pixel gradient value calculation model;

[0036] P52: according to the plurality of target pixel coordinates and the plurality of target pixel grayscale values, obtaining the grayscale value of the pixel at the first position, the grayscale value of the pixel at the second position, and so on until the grayscale value of the pixel at the Nth position;

[0037] P53: Traversing the grayscale value of the pixel at the first position, the grayscale value of the pixel at the second position, and up to the grayscale value of the pixel at the Nth position, performing grayscale gradient calculation in combination with the pixel gradient value calculation model, and generating a plurality of grayscale gradient change values;

[0038] P54: Extract image edges according to the multiple grayscale gradient change values ​​to obtain multiple edge feature areas.

[0039] Specifically, referring to the principle of Roberts algorithm, a pixel gradient value calculation model is constructed. The Roberts algorithm is an image edge detection operator based on convolution operation, and its principle is to calculate the gradient value of the pixel by using the difference between the domain pixels around the pixel point, so as to determine the edge in the image. Further, according to the multiple target pixel coordinates and the multiple target pixel grayscale values, the grayscale value of the pixel at the first position, the grayscale value of the pixel at the second position, and the grayscale value of the pixel at the Nth position are determined.

[0040] Furthermore, the grayscale value of the pixel at the first position, the grayscale value of the pixel at the second position, and the grayscale value of the pixel at the Nth position are traversed, and combined with the pixel gradient value calculation model, exemplarily, by sliding a 2x2 convolution kernel in the image, the gradient values ​​of each pixel point in two directions from the upper left to the lower right and from the upper right to the lower left are calculated respectively, and multiple grayscale gradient change values ​​are obtained. According to the multiple grayscale gradient change values, image edge extraction is performed according to preset image edge extraction rules to obtain multiple edge feature areas, and the multiple edge feature areas include image features at different positions of the low-interference target digital image.

[0041] Furthermore, step P54 of the embodiment of the present application also includes:

[0042] P54-1: Set the strong edge gradient change value threshold, based on the strong edge gradient change value threshold, collect strong edge pixels and obtain strong edge features;

[0043] P54-2: Based on the strong edge features, surrounding pixels are simplified to obtain a strong edge feature area.

[0044] P54-3: Setting a weak edge gradient change value range, and obtaining a plurality of weak edge pixel points based on the weak edge gradient change value range;

[0045] P54-4: Set the threshold of weak edge continuous points;

[0046] P54-5: traverse the multiple weak edge pixel points, extract pixel points whose number of continuous points meets the continuous point threshold, and obtain predetermined weak edge pixel points;

[0047] P54-6: Extract the weak edge pixels row by row to generate a weak edge feature area;

[0048] P54-7: Merge the strong edge feature region and the weak edge feature region to obtain multiple edge feature regions.

[0049] Among them, according to the image edge detection experience data and combined with the overall brightness of the low-interference target digital image, a strong edge gradient change value threshold is set, for example, it is set to 30, based on the strong edge gradient change value threshold, strong edge pixel points are collected, that is, all pixel points with gradient values ​​greater than or equal to 30 are collected as strong edge features, and the pixel values ​​of the pixel points with gradient value change values ​​greater than 30 are changed to 255, and in order to avoid affecting the subsequent detection of weak edge features, the surrounding pixels are simplified according to the strong edge features, and the pixel values ​​within a certain range around the pixel point with a pixel value of 255 are modified to 0, for example, the 6*6 pixel values ​​around the pixel point with a pixel value of 255 are modified to 0, which can effectively reduce the noise in the strong edge area, thereby obtaining a strong edge feature area.

[0050] Further, according to the empirical data of image edge detection, a weak edge gradient change value range is set, for example, set to 15 to 29, and based on the weak edge gradient change value range, the pixels with gradient values ​​distributed between 15 and 29 in the low-interference target digital image are extracted to obtain multiple weak edge pixel points. Further, according to the image recognition accuracy requirements, a weak edge continuous point threshold is set, for example, set to 3, then the multiple weak edge pixel points are traversed, and the weak edge pixel points with a continuous point number of 3 are extracted as the predetermined weak edge pixel points. Further, the predetermined weak edge pixel points are extracted row by row, for example, the predetermined weak edge pixel points are extracted once every 20 pixels, effectively reducing the streaks and generating the weak edge feature area. Further, the strong edge feature area and the weak edge feature area are merged according to the corresponding target pixel coordinates to obtain multiple edge feature areas.

[0051] Furthermore, the embodiment of the present application further includes step P50a, and step P50a further includes:

[0052] P51a: Traverse the first position pixel grayscale value, the second position pixel grayscale value until the Nth position pixel grayscale value, perform grayscale difference calculation, and generate multiple pixel grayscale difference values;

[0053] P52a: Based on the plurality of pixel grayscale differences, traverse the plurality of target pixel coordinates to perform grayscale concentration calculation, and generate a grayscale concentration at a first position, a grayscale concentration at a second position, and finally a grayscale concentration at an Nth position;

[0054] P53a: Based on the grayscale concentration of the first position, the grayscale concentration of the second position, and up to the grayscale concentration of the Nth position, the image edge area is divided to obtain a plurality of edge feature areas.

[0055] Optionally, the grayscale values ​​of the pixels at the first position, the grayscale values ​​of the pixels at the second position, and the grayscale values ​​of the pixels at the Nth position are traversed, and grayscale differences are calculated for each pair to obtain multiple pixel grayscale differences. Based on the multiple pixel grayscale differences, the multiple target pixel coordinates are traversed to perform grayscale concentration calculation, that is, the grayscale concentration of each pixel is calculated, by calculating the mean of the multiple pixel grayscale differences, and counting the number of points around any pixel whose grayscale difference with the pixel is less than the mean, as the grayscale concentration of the pixel, and so on, to generate the grayscale concentration of the first position, the grayscale concentration of the second position, and the grayscale concentration of the Nth position.

[0056] Furthermore, based on the grayscale concentration of the first position, the grayscale concentration of the second position, and up to the grayscale concentration of the Nth position, the image edge area is divided, that is, the maximum grayscale concentration is extracted, and this is used as the clustering center, and the grayscale value of each pixel and the grayscale deviation of the pixel with the maximum grayscale concentration are calculated respectively, and the pixel positions whose grayscale deviation is less than the grayscale deviation mean are screened and extracted as the first edge feature area, that is, the strong edge feature area, and so on, the maximum grayscale concentration is selected from the remaining pixels for secondary clustering to obtain the second edge feature area, that is, the weak edge feature area.

[0057] Furthermore, step P52a of the embodiment of the present application further includes:

[0058] P52a-1: Calculate the mean of the plurality of pixel grayscale differences to generate a pixel grayscale difference mean;

[0059] P52a-2: extract the number of pixel points whose grayscale deviation from the grayscale value of the first position pixel is less than the average of the pixel grayscale differences, and set it as the grayscale concentration of the first position;

[0060] P52a-3: And so on, obtain the grayscale concentration of the second position until the grayscale concentration of the Nth position.

[0061] Among them, the mean of the multiple pixel grayscale differences is calculated to generate the pixel grayscale difference mean, and the number of pixel points whose grayscale deviation from the pixel grayscale value at the first position is less than the pixel grayscale difference mean is extracted, and the number of pixel points is used as the grayscale concentration of the first pixel position, and so on, the grayscale concentration of the second position is statistically obtained until the grayscale concentration of the Nth position.

[0062] P60: Traverse the multiple edge feature areas, extract image features in combination with the reference image features, obtain target image features, and perform image content recognition based on the target image features.

[0063] It should be understood that according to the reference image features, the plurality of edge feature regions are sequentially traversed to perform feature extraction. For example, according to the reference image features of face recognition, the features of the facial features, shapes, contours, irises, etc. are sequentially extracted to obtain the target image features. Further, the extracted target image features are input into the corresponding image detection channel for image recognition. The image detection channel is used to perform feature recognition of the target image. For example, the face recognition channel can be obtained by training sample image features and twin neural networks. The twin network is a neural network that takes two samples as input and outputs a representation of the embedded high-dimensional space to compare the similarity of the two samples, and the weights are shared. Image feature recognition can be performed by inputting the target image features and the standard user face features into the twin neural network respectively, obtaining the target image feature recognition result and the standard user feature recognition result. By calculating the similarity between the target image feature recognition result and the standard user feature recognition result, the similarity between the visiting user and the registered user is obtained to achieve the purpose of rapid image recognition.

[0064] In summary, the embodiments of the present application have at least the following technical effects:

[0065] The present application obtains target image type information and target image usage information, refers to an image feature library, determines baseline image features, digitally processes the target image to be detected, and filters and reduces noise on the target digital image to obtain a low-interference target digital image. Through image edge recognition, multiple edge feature areas are obtained, and the target image features are extracted in combination with the baseline image features to perform image content recognition.

[0066] The technical effect of improving the detection speed and accuracy of images by extracting image features through noise filtering combined with Roberts algorithm is achieved.

[0067] Embodiment 2

[0068] Based on the same inventive concept as the method for improving image detection speed in the aforementioned embodiment, Figure 4As shown, the present application provides a system for improving the image detection speed, and the system and method embodiments in the present application are based on the same inventive concept. The system includes:

[0069] A target image basic information extraction module 11, the target image basic information extraction module 11 is used to receive a target image to be detected, extract basic information of the target image, and obtain target image type information and target image usage information;

[0070] A reference image feature determination module 12, the reference image feature determination module 12 is used to determine reference image features according to the target image type and the target image usage information and with reference to an image feature library;

[0071] A target digital image generation module 13, wherein the target digital image generation module 13 is used to digitally process the target image to be detected to generate a target digital image;

[0072] A low-interference target digital image acquisition module 14, which is used to filter and reduce noise on the target digital image to obtain a low-interference target digital image, wherein the low-interference target digital image includes a plurality of target pixel coordinates and a plurality of target pixel grayscale values;

[0073] An edge feature region acquisition module 15, wherein the edge feature region acquisition module 15 is used to perform image edge recognition based on the multiple target pixel coordinates and the multiple target pixel grayscale values ​​to obtain multiple edge feature regions;

[0074] The image content recognition module 16 is used to traverse the multiple edge feature areas, extract image features in combination with the reference image features, obtain target image features, and perform image content recognition based on the target image features.

[0075] Furthermore, the low-interference target digital image acquisition module 14 is also used to perform the following steps:

[0076] Based on the basic information of the target image, setting a first filtering operator;

[0077] According to the target digital image, randomly collect a first central pixel point, refer to the first filter operator, perform pixel mean calculation, and obtain a mean calculation result;

[0078] Determine the denoised pixel value of the first central pixel by referring to the mean calculation result;

[0079] The target digital image is traversed, a plurality of central pixel points are determined, pixel mean value calculation is performed, a plurality of denoised pixel points are obtained, and the low-interference target digital image is obtained.

[0080] Furthermore, the edge feature region acquisition module 15 is further configured to perform the following steps:

[0081] Construct a pixel gradient value calculation model;

[0082] According to the plurality of target pixel coordinates and the plurality of target pixel grayscale values, obtaining a first position pixel grayscale value, a second position pixel grayscale value, and so on until an Nth position pixel grayscale value;

[0083] Traversing the grayscale value of the pixel at the first position, the grayscale value of the pixel at the second position, and up to the grayscale value of the pixel at the Nth position, performing grayscale gradient calculation in combination with the pixel gradient value calculation model, and generating a plurality of grayscale gradient change values;

[0084] Image edge extraction is performed according to the multiple grayscale gradient change values ​​to obtain multiple edge feature regions.

[0085] Furthermore, the edge feature region acquisition module 15 is further configured to perform the following steps:

[0086] Set a strong edge gradient change value threshold, collect strong edge pixel points based on the strong edge gradient change value threshold, and obtain strong edge features;

[0087] Based on the strong edge features, surrounding pixels are simplified to obtain a strong edge feature region.

[0088] Furthermore, the edge feature region acquisition module 15 is further configured to perform the following steps:

[0089] Setting a weak edge gradient change value range, and obtaining a plurality of weak edge pixel points based on the weak edge gradient change value range;

[0090] Set the threshold of continuous points on weak edges;

[0091] Traversing the plurality of weak edge pixel points, extracting pixel points whose number of continuous points meets the continuous point threshold, and obtaining predetermined weak edge pixel points; performing row-by-row interval extraction on the weak edge pixel points to generate a weak edge feature region;

[0092] The strong edge feature region and the weak edge feature region are merged to obtain a plurality of edge feature regions.

[0093] Furthermore, the system also includes:

[0094] A grayscale difference calculation module, the grayscale difference calculation module is used to traverse the grayscale value of the pixel at the first position, the grayscale value of the pixel at the second position until the grayscale value of the pixel at the Nth position, perform grayscale difference calculation, and generate a plurality of pixel grayscale differences;

[0095] A grayscale concentration calculation module, the grayscale concentration calculation module is used to traverse the plurality of target pixel coordinates to perform grayscale concentration calculation based on the plurality of pixel grayscale differences, and generate a grayscale concentration at a first position, a grayscale concentration at a second position, and finally a grayscale concentration at an Nth position;

[0096] The image edge region division module is used to divide the image edge region based on the grayscale concentration of the first position, the grayscale concentration of the second position, and up to the grayscale concentration of the Nth position to obtain a plurality of edge feature regions.

[0097] Furthermore, the system also includes:

[0098] A pixel grayscale difference mean value calculation module, the pixel grayscale difference mean value calculation module is used to calculate the mean of the plurality of pixel grayscale differences to generate a pixel grayscale difference mean value;

[0099] A first position grayscale concentration calculation module, the first position grayscale concentration calculation module is used to extract the number of pixel points whose grayscale deviation from the first position pixel grayscale value is less than the pixel grayscale difference mean, and set it as the first position grayscale concentration;

[0100] The N-th position grayscale concentration calculation module is used to obtain the second position grayscale concentration by analogy until the N-th position grayscale concentration.

[0101] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0102] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

[0103] This specification and drawings are merely exemplary illustrations of the present application and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.

Claims

1. A method for improving image detection speed, characterized in that: The method comprises: Receive the target image to be detected, extract basic information of the target image, and obtain target image type information and target image usage information; According to the target image type and the target image usage information, reference is made to an image feature library to determine a reference image feature; Digitally processing the target image to be detected to generate a target digital image; Filtering and denoising the target digital image to obtain a low-interference target digital image, wherein the low-interference target digital image includes a plurality of target pixel coordinates and a plurality of target pixel grayscale values; Based on the multiple target pixel coordinates and the multiple target pixel grayscale values, image edge recognition is performed to obtain multiple edge feature regions; The plurality of edge feature regions are traversed, image feature extraction is performed in combination with the reference image feature, target image feature is obtained, and image content recognition is performed based on the target image feature.

2. The method according to claim 1, characterized in that The filtering and denoising of the target digital image to obtain a low-interference target digital image includes: Based on the basic information of the target image, setting a first filtering operator; According to the target digital image, randomly collect a first central pixel point, refer to the first filter operator, perform pixel mean calculation, and obtain a mean calculation result; Determine the denoised pixel value of the first central pixel by referring to the mean calculation result; The target digital image is traversed, a plurality of central pixel points are determined, pixel mean value calculation is performed, a plurality of denoised pixel points are obtained, and the low-interference target digital image is obtained.

3. The method according to claim 1, characterized in that The method of performing image edge recognition based on the multiple target pixel coordinates and the multiple target pixel grayscale values ​​to obtain multiple edge feature regions includes: Construct a pixel gradient value calculation model; According to the plurality of target pixel coordinates and the plurality of target pixel grayscale values, obtaining a first position pixel grayscale value, a second position pixel grayscale value, and so on until an Nth position pixel grayscale value; Traversing the grayscale value of the pixel at the first position, the grayscale value of the pixel at the second position, and up to the grayscale value of the pixel at the Nth position, performing grayscale gradient calculation in combination with the pixel gradient value calculation model, and generating a plurality of grayscale gradient change values; Image edge extraction is performed according to the multiple grayscale gradient change values ​​to obtain multiple edge feature regions.

4. The method according to claim 3, characterized in that The image edge extraction is performed according to the multiple grayscale gradient change values ​​to obtain multiple edge feature areas, including: Set a strong edge gradient change value threshold, collect strong edge pixel points based on the strong edge gradient change value threshold, and obtain strong edge features; Based on the strong edge features, surrounding pixels are simplified to obtain a strong edge feature region.

5. The method according to claim 4, characterized in that The method further comprises: Setting a weak edge gradient change value range, and obtaining a plurality of weak edge pixel points based on the weak edge gradient change value range; Set the threshold of continuous points on weak edges; Traversing the plurality of weak edge pixel points, extracting pixel points whose number of continuous points meets the continuous point threshold, and obtaining predetermined weak edge pixel points; Extracting the weak edge pixels row by row to generate a weak edge feature area; The strong edge feature region and the weak edge feature region are merged to obtain a plurality of edge feature regions.

6. The method according to claim 3, characterized in that The method further comprises: Traversing the first position pixel grayscale value, the second position pixel grayscale value until the Nth position pixel grayscale value, performing grayscale difference calculation, and generating a plurality of pixel grayscale difference values; Based on the plurality of pixel grayscale differences, traverse the plurality of target pixel coordinates to perform grayscale concentration calculation, and generate a first position grayscale concentration, a second position grayscale concentration, and finally an Nth position grayscale concentration; Based on the grayscale concentration of the first position, the grayscale concentration of the second position, and up to the grayscale concentration of the Nth position, the image edge region is divided to obtain a plurality of edge feature regions.

7. The method according to claim 6, characterized in that The step of traversing the plurality of target pixel coordinates to calculate grayscale concentration based on the plurality of pixel grayscale differences, and generating a grayscale concentration at a first position, a grayscale concentration at a second position, and a grayscale concentration at an Nth position includes: Calculate the mean of the plurality of pixel grayscale differences to generate a pixel grayscale difference mean; Extract the number of pixel points whose grayscale deviation from the grayscale value of the first position pixel is less than the average of the pixel grayscale differences, and set it as the grayscale concentration of the first position; And so on, the grayscale concentration of the second position is obtained until the grayscale concentration of the Nth position.

8. A system for improving image detection speed, characterized in that: The system comprises: A target image basic information extraction module, the target image basic information extraction module is used to receive a target image to be detected, extract basic information of the target image, and obtain target image type information and target image usage information; A reference image feature determination module, the reference image feature determination module is used to determine reference image features according to the target image type and the target image usage information and with reference to an image feature library; A target digital image generation module, the target digital image generation module is used to digitally process the target image to be detected to generate a target digital image; A low-interference target digital image acquisition module, the low-interference target digital image acquisition module is used to filter and reduce noise on the target digital image to obtain a low-interference target digital image, wherein the low-interference target digital image includes a plurality of target pixel coordinates and a plurality of target pixel grayscale values; An edge feature region acquisition module, the edge feature region acquisition module is used to perform image edge recognition based on the multiple target pixel coordinates and the multiple target pixel grayscale values ​​to obtain multiple edge feature regions; An image content recognition module is used to traverse the multiple edge feature areas, extract image features in combination with the reference image features, obtain target image features, and perform image content recognition based on the target image features.

Citation Information

Patent Citations

  • Computer vision target detection algorithm

    CN113673515A

  • Intelligent detection method for aerial video image of unmanned aerial vehicle

    CN115439424A