Feature complementary image processing method for infrared-visible light image under low illumination
By extracting extremely stable areas in infrared-visible light images in low-light environments and performing feature matching and fusion, the problem of difficult target feature extraction in image fusion is solved, high-quality target detection and recognition is achieved, and detection accuracy is improved. performance and computational efficiency.
Patent Information
- Application Number
- PCT/CN2023/119375
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-24
- Filing Date
- 2023-09-18
- Publication Date
- 2024-08-29
AI Technical Summary
In a low-illumination environment, it is difficult to effectively extract and correctly extract foreground target features in the same scene through the fusion of infrared and visible light images. Traditional fusion methods do not take into account the different inherent characteristics of the image, resulting in low fusion performance and poor visual effects.
By extracting the maximum stable regions (MSERs) in infrared-visible light images, using ellipse fitting, density and similarity functions for classification and matching, and combining grayscale values for fusion rules, complementary feature processing of infrared and visible light images is achieved .
It improves the target detection accuracy under low illumination and low visibility conditions, can quickly and accurately locate face images, improves detection and recognition accuracy, improves recall rate and has high computational efficiency, and the single-frame detection effect meets the requirements of real-time processing.
Smart Images

Figure CN2023119375_29082024_PF_FP_ABST
Abstract
Description
A feature complementary image processing method for infrared-visible light images under low illumination Technical Field
[0001] The present invention relates to the technical field of low-illumination image feature extraction and processing, and in particular to a feature complementary image processing method for infrared-visible light images under low illumination. Background Art
[0002] Downstream tasks centered around object detection algorithms are gradually being implemented, such as autonomous driving environmental perception, video surveillance, and face recognition. However, most current object detection algorithms rely on single-modal visible light images as training data. This results in low accuracy and poor robustness in complex environments, such as poor lighting conditions and rain and fog. Consequently, in recent years, a growing number of researchers have focused on combining visible light and infrared imagery. By combining the advantages of visible light images, which offer clear target texture features, with the advantages of infrared images, which are unaffected by lighting conditions and offer clear target outlines, these multimodal data can be used to train detection networks, thereby improving the robustness of detection algorithms. Fusion of infrared and visible light images aims to combine the strengths of both sensor types. The resulting fused image offers enhanced target perception and scene representation, facilitating both human observation and subsequent computational processing. Infrared sensors are sensitive to thermal radiation and can capture prominent target regions, but the resulting infrared images often lack structural features and texture detail. In contrast, visible light sensors capture rich scene information and texture details through light reflection imaging. While visible light images have high spatial resolution and rich texture detail, they cannot effectively highlight target features and are easily affected by the external environment, particularly in low-light conditions, where information loss is severe. Due to the different imaging mechanisms of infrared and visible light, these two types of images possess highly complementary information. Only through the use of fusion technology can the collaborative detection capabilities of infrared and visible light imaging sensors be effectively enhanced. This has broad applications in remote sensing, medical diagnosis, intelligent driving, security monitoring, and other fields.
[0003] Currently, infrared and visible light image fusion technologies can be broadly categorized into traditional fusion methods and deep learning fusion methods. Traditional image fusion methods typically extract image features using the same feature transformation or representation, merge them using appropriate fusion rules, and then reconstruct the final fused image through inverse transformation. Due to the different imaging mechanisms of infrared and visible light sensors, infrared images represent target features using pixel brightness, while visible light images represent scene texture using edges and gradients. Traditional fusion methods ignore the inherently different characteristics of the source images and indiscriminately extract image features using the same transformation or representation model. This inevitably results in poor fusion performance and poor visual quality. Furthermore, fusion rules are manually set and increasingly complex, resulting in high computational costs, which limits the practical application of image fusion.
[0004] In low-light and low-visibility conditions, infrared images provide more reliable target detection information, while visible light images provide detailed scene details. Fusing these two complementary features into a single image often presents difficulties in fully and accurately extracting the fused features of foreground objects between infrared and visible light images of the same scene. To address this issue, we propose a feature-complementary image processing method for infrared and visible light images under low-light conditions.
[0005] Summary of the Invention
[0006] The object of the present invention is to provide a feature complementary image processing method for infrared-visible light images under low illumination, so as to solve the problems raised in the above background technology.
[0007] To solve the above technical problems, one of the objectives of the present invention is to provide a feature complementary image processing method for infrared-visible light images under low illumination, comprising the following steps:
[0008] S1. Extracting Maximum Stable Regions (MSERs) from IR-visible images.
[0009] As a further improvement of this technical solution, this step also includes:
[0010] Detect maximum stable regions (MSERs) in infrared and visible light images, and fit the detected MSERs regions with ellipse fitting.
[0011] The center of the ellipse P c is the center of gravity of MSERs, reflecting the position of MSERs. The major axis direction θ of the ellipse represents the direction of the MSERs area, and the major semi-axis w and the minor semi-axis l together represent the shape of the MSERs area.
[0012] As a further improvement of the present technical solution, in this step, detecting maximum stable regions (MSERs) in the infrared image and the visible light image includes the following steps:
[0013] Pixel sorting: Use BinSort method to sort image pixels according to intensity;
[0014] Extraction of extreme value regions: Generate ComponentTree using four-neighborhood or eight-neighborhood method;
[0015] Stable determination to obtain MSER area: For each connected region Q i By analyzing the region tree, we can get the maximum stability judgment condition; the maximum stability judgment condition is:
[0016] When it reaches a local minimum at i, the corresponding area is Q iis the maximum stable extreme value region; where |·| represents the area of the region, Δ is the small change in the grayscale threshold, and the standard setting is Δ=5.
[0017] S2, calculate the attributes of the feature regions and classify the maximum stable regions (MSERs);
[0018] As a further improvement of this technical solution, this step also includes:
[0019] Define the MSERs region density function and the MSERs region similarity function where the foreground target is located;
[0020] Calculation of MSERs attributes ERsMS are classified according to the above two metrics.
[0021] As a further improvement of this technical solution, in this step, the classification of MSERs also includes:
[0022] MSERs are divided into MSERs+ and MSERs- according to pixel brightness;
[0023] Define the density function of the MSERs region where the foreground target is located, and the MSERs that meet the density condition are regarded as candidate target regions;
[0024] Based on the inherent characteristics of the foreground target itself, the similarity function of the MSERs region where the foreground target is located can be defined;
[0025] MSERs+ or MSERs- are reclassified based on the two metrics of density and similarity;
[0026] Among them, density Dense: MSERs area R i It is characterized by the number of centroids P contained in it; it is defined as follows:
[0027] Similarity: Based on MSERs region R a 、R b The fitted ellipse shape similarity is used to characterize the similarity, and the similarity is calculated using the Wechsler distance;
[0028] k i Represents two regions R a 、R b The ratio of the parameters between the two semi-axis lengths w and l of the ellipse and the flattening f is defined as follows: i =max{|a i -b i | / (C+b i ),|a i -b i | / (C+a i)},i=1,2,3;
[0029] To avoid the denominator being 0, set C to 1; d i =igmoid(k i )=(1-exp(-k i )) / (1+exp(-k i )),i=1,2,3;
[0030] Then d i ∈[0,1); Similarity=1-∏d i ,i=1,2,3;
[0031] The closer the Similarity value is to 1, the more similar the two regions are;
[0032] Set D0 as the density threshold, the similarity threshold as S0, and establish the dense region set ΩC of classification MSERs, ΩC={Ω1,Ω2,...;Ω i ...;Ω N}, indicating that it includes N types of MSERs areas; Dense(Ω i )≥D0,Similarity(Ω i )≥S0, where Ω i ={R1, R2, ...; R m} represents the set of dense regions of the i-th type of MSERs, which contains m MSERs regions and records the centroid position and shape parameters of the MSERs regions.
[0033] S3, matching similar maximally stable regions (MSERs);
[0034] As a further improvement of this technical solution, this step also includes:
[0035] Searching for similar regions of matching MSERs between infrared and visible light images can filter out background objects, screen out foreground targets, and supplement foreground target areas that are not fully detected in infrared images;
[0036] Similar region detection in infrared images can detect foreground targets that are mistakenly filtered out during the search process between infrared and visible light images.
[0037] As a further improvement of this technical solution, in this step, searching for similar regions of matching MSERs also includes:
[0038] Take infrared image I IR A type of MSERs region Ω CIR , In the visible light image I V Search for this type of ΩCIR Middle MSERs region Mapping R V ,R V There are MSERs areas within the region Then and Perform similarity detection, and record the similar matching area pairs of the two images if they meet the similarity conditions. As a candidate target area, Among them, R V is the searched visible light image I V Similar matching area in R IR is the infrared image I IR Similar matching area in the middle;
[0039] In the visible light image I V Exhaustive search of infrared images I IR All categories of MSERs area Ω CIR , until there is no matching MSERs area; mapping area matching can screen out foreground targets, similarity detection can filter out background objects, can assist in locating the detected target, and supplement the foreground target area that has not been fully detected in the infrared image.
[0040] S4, locate the foreground target area and output the detected target;
[0041] As a further improvement of the technical solution, this step also includes: matching the MSERs region of the visible light image and the infrared image and fusing the fusion rule based on the grayscale values of the two images.
[0042] As a further improvement of this technical solution, in this step, the fusion rule is based on the grayscale values of the two images and further includes:
[0043] Take the mean grayscale value of all pixels in region R and calculate it as follows:
[0044] Where N represents the number of pixels in the region, and g(m,n) is the grayscale value corresponding to the pixel in the region;
[0045] The target region F after the final fusion matching MSERs region is expressed as follows:
[0046] Where R IR (m,n) represents the MSERs region matched in the infrared image, R V (m,n) represents the MSERs region matched in the visible light image; when there is no matching MSERs region between the two images, or R IR (m,n) belongs to a type of MSERs region Ω CIR, then directly obtain the MSERs region R marked in the infrared image IR (m,n) output.
[0047] The second object of the present invention is to provide an image processing operation platform device, including a processor, a memory, and a computer program stored in the memory and running on the processor, wherein the processor is used to implement the steps of the above-mentioned feature complementary image processing method of infrared-visible light images under low illumination when executing the computer program.
[0048] The third object of the present invention is to provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the steps of the above-mentioned feature complementary image processing method of infrared-visible light images under low illumination.
[0049] Compared with the prior art, the present invention has the following beneficial effects:
[0050] 1. This low-light infrared-visible light image processing method, which uses complementary features, can fuse infrared targets and visible light scene details into a single image under low-light and low-visibility conditions. This integration of visible light image information enables rapid and accurate target positioning, providing high-quality facial images unaffected by ambient light for face recognition, and improving the accuracy of worker detection, identification, and tracking.
[0051] 2. In this feature-complementary image processing method for infrared-visible light images under low illumination, regional detection, recognition and matching can effectively filter out background objects, assist in locating foreground targets detected in infrared images, and supplement the missing parts of foreground targets extracted using only infrared images. This method has been tested using a public database and compared with early fusion methods, achieving better recall rates without a decrease in accuracy after fusion. It does not require background modeling and is therefore computationally more efficient and simpler than previous algorithms. The effect of single-frame detection can also meet real-time processing requirements, resulting in an accuracy rate of ≥95%. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] FIG1 is a schematic diagram of an exemplary worker detection framework based on complementary fusion in the present invention;
[0053] FIG2 is a schematic diagram of an exemplary effect based on complementary fusion in the present invention;
[0054] FIG3 is a schematic diagram of an exemplary process of classifying and detecting targets in the present invention;
[0055] FIG4 is a schematic diagram of an exemplary fusion detection process in the present invention;
[0056] FIG5 is a diagram showing the person profile result of the fusion detection in the dataset created exemplarily in the present invention;
[0057] FIG6 is a table showing the recall and precision obtained from the OSU database after testing using a public database in the present invention;
[0058] FIG7 is a structural diagram of an exemplary electronic computer platform device in the present invention. DETAILED DESCRIPTION
[0059] The following will provide a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0060] Example 1
[0061] As shown in FIG1 to FIG6 , this embodiment provides a method for processing feature complementary images of infrared-visible light images under low illumination, including the following steps:
[0062] S1. Extracting Maximum Stable Regions (MSERs) from IR-visible images.
[0063] S2, calculate the attributes of the feature regions and classify the maximum stable regions (MSERs);
[0064] S3, matching similar maximally stable regions (MSERs);
[0065] S4. Locate the foreground target area and output the detected target.
[0066] In this embodiment, extracting foreground objects from infrared-visible light images includes:
[0067] For static backgrounds, a Gaussian mixture model can be used to fit a background using the information of each frame of the video, and then the foreground target can be extracted using background difference. For dynamic backgrounds, the Vibe algorithm can be used. The Vibe algorithm is a foreground detection algorithm based on background update. Its principle is to establish a sample set of pixel points by extracting the pixel values around the pixel point (x, y) and the previous pixel values. The pixel value at (x, y) in another frame is then compared with the pixel value in the sample set. If the distance between the pixel value and the pixel value in the sample set is greater than a certain threshold, the pixel point is considered to be a foreground pixel point, otherwise it is a background pixel point; as shown in Figure 2.
[0068] In this embodiment, as shown in FIG3 , the classification and detection targets include:
[0069] (1) Pass the entire image forward through the CNN to generate a convolutional feature map;
[0070] (2) Identify regions of interest by applying a region proposal network (RPN) on these feature maps, which returns object proposals with objectness scores;
[0071] (3) Apply a ROI pooling layer to them to make them of the same size, and then pass the proposals to the fully connected layer;
[0072] (4) Apply a Softmax layer and a linear regression layer on top to classify and output the bounding box.
[0073] Furthermore, the maximum stable extreme region MSERs algorithm includes:
[0074] Matas et al. proposed the MSERs (Maximally Stable Extrema) region feature extraction algorithm. Regions where the intensity of all pixels is less than or greater than the values of surrounding pixels are considered maximum stable extrema. The MSER algorithm uses the BINSORT algorithm to quickly sort pixel grayscale values, gradually varying the threshold from 0 to 255. Pixels with intensities less than the threshold are ignored, while pixels with intensities greater than or equal to the threshold are recorded. Adjacent pixels form extrema. The Union-Find algorithm is used to search for extrema, recording a list of connected regions and their areas. Extrema that remain unchanged across multiple threshold changes during continuous increase or decrease of the threshold are considered maximum stable extrema (MSERs). The computational complexity of the BINSORT algorithm is O(n), and the computational complexity of the Union-Find algorithm is O(nlg(lg(n))), where n is the grayscale value.
[0075] Furthermore, the operator detection based on complementary fusion includes:
[0076] The framework for worker detection based on complementary fusion is shown in Figure 1. The steps are as follows:
[0077] Input: registered infrared image and visible light image; Output: fused detected target contour;
[0078] Step 1: Detect the maximum stable regions (MSERs) in the infrared image and the visible light image, and fit the detected MSERs region with an ellipse; the center of the ellipse P c is the center of gravity of MSERs, reflecting the location of MSERs. The major axis direction θ of the ellipse represents the direction of the MSERs area, and the major semi-axis w and the minor semi-axis l together represent the shape of the MSERs area.
[0079] Step 2: Define the MSERs region density function and the MSERs region similarity function where the foreground object is located; calculate the MSERs attributes and classify the ERsMS according to the above two metrics;
[0080] Step 3: Searching for similar regions of matching MSERs between the infrared and visible light images can filter out background objects, screen out foreground targets, and supplement foreground target regions that were not fully detected in the infrared image. Similar region detection within the infrared image can detect foreground targets that were mistakenly filtered out during the search between the infrared and visible light images.
[0081] Step 4: The visible light image and the infrared image are matched and fused by MSERs regions. The fusion rule is based on the grayscale values of the two images.
[0082] Among them, the detection and fitting of maximum stable regions MSERs include:
[0083] The principle and process of detecting MSERs areas are as follows:
[0084] Pixel sorting: Use BinSort method to sort image pixels according to intensity;
[0085] Extraction of extreme value regions: Generate ComponentTree using four-neighborhood or eight-neighborhood method;
[0086] Stable determination to obtain MSER area: For each connected region Q i By analyzing the region tree, we can get the maximum stability judgment condition; the maximum stability judgment condition is:
[0087] When it reaches a local minimum at i, the corresponding area is Q i is the maximum stable extreme value region; where |·| represents the area of the region, Δ is the small change in the grayscale threshold, and the standard setting is Δ=5.
[0088] Then, the MSERs region is fitted to describe the regional characteristics. The MSER region is calculated by using the regional affine invariant ellipse fitting method. The ellipse can effectively reflect the position, size and direction of the region. The center of the ellipse P c is the center of gravity of MSERs, reflecting the position of MSERs. The major axis direction θ of the ellipse represents the direction of the MSERs area, and the major semi-axis w and the minor semi-axis l together represent the shape of the MSERs area.
[0089] Furthermore, the regional attributes of the fitted MSERs are calculated and classified, including:
[0090] MSERs can be divided into MSERs+ and MSERs- based on pixel brightness. Therefore, in infrared and visible light images, MSERs regions are first divided into two categories. In infrared images, foreground targets are often brighter areas. If multiple MSERs+ or MSERs- regions are detected within a certain area, the pixel intensity of this area is more distinguishable than that of the surrounding areas. A density function can be defined for the MSERs region where the foreground target is located, and MSERs that meet the density condition can be used as our candidate target region. The foreground target to be detected is a type of object in the real world with its own inherent characteristics, so a similarity function can be defined for the MSERs region where the foreground target is located. MSERs+ or MSERs- are further classified based on the two metrics of density and similarity.
[0091] Among them, density Dense: MSERs area R i It is characterized by the number of centroids P contained in it; it is defined as follows:
[0092] Similarity: Based on MSERs region R a 、R b The fitted ellipse shape similarity is used to characterize the similarity, and the similarity is calculated using the Wechsler distance;
[0093] k i Represents two regions R a 、R b The ratio of the parameters between the two semi-axis lengths w and l of the ellipse and the flattening f is defined as follows: i =max{|a i -b i | / (C+b i ),|a i -b i | / (C+a i )},i=1,2,3;
[0094] To avoid the denominator being 0, set C to 1; d i =igmoid(k i )=(1-exp(-k i )) / (1+exp(-k i )),i=1,2,3;
[0095] Then d i ∈[0,1); Similarity=1-∏d i ,i=1,2,3;
[0096] The closer the Similarity value is to 1, the more similar the two regions are;
[0097] Set D0 as the density threshold, the similarity threshold as S0, and establish the dense region set ΩC of classification MSERs, ΩC={Ω1,Ω2,...;Ω i ...;Ω N}, indicating that it includes N types of MSERs areas; Dense(Ω i )≥D0,Similarity(Ω i )≥S0, where Ω i ={R1, R2, ...; R m} represents the set of dense regions of the i-th type of MSERs, which contains m MSERs regions and records the centroid position and shape parameters of the MSERs regions.
[0098] In this embodiment, the similar MSERs search includes:
[0099] First, the region matching between infrared and visible light images:
[0100] Take infrared image I IR A type of MSERs region Ω CIR , In the visible light image I V Search for this type of Ω CIR Middle MSERs region Mapping R V ,R V There are MSERs areas within the region Then and Perform similarity detection, and record the similar matching area pairs of the two images if they meet the similarity conditions. As a candidate target area, Among them, R V is the searched visible light image I V Similar matching area in R IR is the infrared image I IR Similar matching area in the middle;
[0101] In the visible light image I V Exhaustive search of infrared images I IR All categories of MSERs area Ω CIR , until there is no matching MSERs area; mapping area matching can screen out foreground targets, similarity detection can filter out background objects, can assist in locating the detected target, and supplement the foreground target area that has not been fully detected in the infrared image.
[0102] Secondly, similar region detection in infrared-visible light images:
[0103] 1) There are similar matching MSERs regions between infrared and visible light images (In the infrared-visible light image, the foreground target is prominent in the background), then the infrared image I IR The foreground target area R screened out R Corresponding class Ω CIR As a reference, in the infrared image I IR and visible light image I V R IR The similar MSERs area, the similarity function value takes the empirical value S0, and the MSERs area that meets the similarity conditions is marked Exhaustive Search I IR , I V , record all the filtered Category Ω CIR , until there are no similar MSERs regions.
[0104] 2) There is no matching MSERs region between the infrared and visible light images (the foreground target in the visible light image is submerged in the background), then in the infrared image I IR Detect all MSERs categories within Ω CIR , record the highest density MaxDense(Ω CIR ) and the similarity is the highest MaxSimilarity(Ω CIR ) of a class of MSERs region Ω CIR , mark all regions R of this type of MSERs set IR . Similar region detection in infrared images can supplement the foreground target regions that were mistakenly eliminated during the region matching process between the two images.
[0105] Furthermore, the fusion extraction objectives include:
[0106] After completing the search for similar MSERs regions, the output of the matching MSERs regions needs to be fused. The visible light image clearly complements the missing foreground objects in the infrared image. The fusion rule for matching MSERs regions in the visible light image and infrared image is directly based on the grayscale values of the two images. The mean grayscale value of all pixels in region R is calculated as follows:
[0107] Where N represents the number of pixels in the region, and g(m,n) is the grayscale value corresponding to the pixel in the region;
[0108] The target region F after the final fusion matching MSERs region is expressed as follows:
[0109] Where R IR (m,n) represents the MSERs region matched in the infrared image, RV (m,n) represents the MSERs region matched in the visible light image; when there is no matching MSERs region between the two images, or R IR (m,n) belongs to a type of MSERs region Ω CIR , then directly obtain the MSERs region R marked in the infrared image IR (m,n) output.
[0110] In addition, the examples in Figures 4 and 5 show that when the temperature of an object is similar to that of the surrounding area, it becomes increasingly difficult to detect certain types of objects from infrared images. In these cases, if the colors of the object and the background are dissimilar, visible light images are useful. Visible spectrum images can provide many clues to assist in locating the object and completing missing parts of the object. As shown in the second row of Figure 4, on the left, R6 does not contain the waist and abdomen of the person in the infrared image, while in the second row of Figure 4, on the right, R6 contains the complete outline of the person in the visible light image because the pixels of the person are significantly different from the background road pixels.
[0111] At the same time, as shown in the recall and precision table obtained on the OSU database in Figure 6, by testing this method using a public database and comparing it with the early fusion method, a better recall rate can be obtained, and the accuracy rate will not decrease after fusion.
[0112] The method proposed in this embodiment is applied to human body detection, and only a personnel data set is provided here; since this method does not set any specific parameters for detecting human bodies, it can be applied to detect other objects. The implementation steps of this method are mainly as follows: extracting foreground targets from infrared-visible light images; calculating attributes of feature areas and classifying targets; matching similar targets; locating foreground target areas and outputting detected targets. This method does not require many preprocessing attempts such as background estimation and modeling, and a single frame image can detect moving targets, so it is more computationally efficient. In the future, this method can be applied to detect and identify various things, such as human behavior recognition.
[0113] As shown in FIG7 , this embodiment further provides an image processing operation platform device, which includes a processor, a memory, and a computer program stored in the memory and running on the processor.
[0114] The processor includes one or more processing cores, and the processor is connected to the memory through a bus. The memory is used to store program instructions. When the processor executes the program instructions in the memory, the steps of the feature complementary image processing method of infrared-visible light images under low illumination are implemented.
[0115] Alternatively, the memory may be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0116] In addition, the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the above-mentioned feature complementary image processing method of infrared-visible light images under low illumination.
[0117] Optionally, the present invention also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the steps of the above-mentioned method for processing feature complementary images of infrared-visible light images under low illumination.
[0118] Those skilled in the art will appreciate that the process of implementing all or part of the steps of the above embodiments may be accomplished by hardware, or may be accomplished by instructing the relevant hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.
[0119] The above shows and describes the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions are merely preferred examples of the present invention and are not intended to limit the present invention. Various changes and improvements may be made to the present invention without departing from the spirit and scope of the present invention. Such changes and improvements fall within the scope of the present invention. The scope of protection claimed in the present invention is defined by the appended claims and their equivalents.
Claims
1. A feature complementary image processing method for infrared-visible light images under low illumination, characterized in that: The steps include: S1, extracting the maximum stable region in the infrared-visible light image; S2, calculate the attributes of the feature area and classify the maximum stable area; S3, matching similar maximum stable regions; S4: Locate the foreground target area and output the detected target.
2. The feature complementary image processing method of infrared-visible light images under low illumination according to claim 1, characterized in that: The step S1 further comprises: Detecting maximum stable regions (MSERs) in infrared images and visible light images, and fitting the detected MSERs regions with ellipses; The center of the ellipse P c is the center of gravity of MSERs, reflecting the position of MSERs. The major axis direction θ of the ellipse represents the direction of the MSERs area, and the major semi-axis w and the minor semi-axis l together represent the shape of the MSERs area.
3. The feature complementary image processing method of infrared-visible light images under low illumination according to claim 2, characterized in that: In the step S1, detecting maximum stable regions MSERs in the infrared image and the visible light image includes the following steps: Pixel sorting: BinSort method is used to sort image pixels according to their intensity; Extraction of extreme value regions: Generate ComponentTree using four-neighborhood or eight-neighborhood method; Stable determination to obtain the MSER region: For each connected domain Q i By analyzing the region tree, we can get the maximum stability judgment condition; the maximum stability judgment condition is: When it reaches a local minimum at i, the corresponding area is Q i is the maximum stable extreme value region; where |·| represents the area of the region, Δ is the small change in the grayscale threshold, and the standard setting of Δ=5 is taken.
4. The feature complementary image processing method of infrared-visible light images under low illumination according to claim 1, characterized in that: The step S2 further comprises: Define the MSERs region density function and the MSERs region similarity function where the foreground target is located; Calculation of MSERs attributes ERsMS are classified according to the above two metrics.
5. The feature complementary image processing method of infrared-visible light images under low illumination according to claim 4, characterized in that: In the step S2, classifying the MSERs further comprises: MSERs are divided into MSERs+ and MSERs- according to pixel brightness; Define the density function of the MSERs region where the foreground target is located, and the MSERs that meet the density condition are regarded as candidate target regions; Based on the inherent characteristics of the foreground target itself, the similarity function of the MSERs region where the foreground target is located can be defined; MSERs+ or MSERs- are reclassified based on the two metrics of density and similarity; Among them, density Dense: MSERs area R i It is characterized by the number of centroids P contained in it; it is defined as follows: Similarity: Based on MSERs region R a , R b The fitted ellipse shape similarity is used to characterize it, and the similarity is calculated using the Weiss distance; k i Represents two regions R a , R b The ratio of the parameters between the two semi-axis lengths w and l of the ellipse and the flattening f are defined as follows: k i =max{|a i -b i | / (C+b i ),|a i -b i | / (C+a i )},i=1,2,3; To avoid the denominator being 0, set C to 1; d i =i gmoid(k i )=(1-exp(-k i )) / (1+exp(-k i )),i=1,2,3; Then d i ∈[0,1); Similarity=1-∏d i ,i=1,2,3; The closer the Similarity value is to 1, the more similar the two regions are; Set D0 as the density threshold, the similarity threshold as S0, and establish the dense region set ΩC of the classification MSERs, ΩC = {Ω1,Ω2,...;Ω i ...;Ω N }, indicating that it includes N types of MSERs areas; Dense(Ω i )≥D0,Similarity(Ω i )≥S0, where Ω i ={R1, R2, ...; R m } represents the set of dense regions of the i-th type of MSERs, which contains m MSERs regions and records the centroid position and shape parameters of the MSERs regions.
6. The feature complementary image processing method of infrared-visible light images under low illumination according to claim 1, characterized in that: The step S3 further comprises: Searching for matching MSERs similar areas between infrared and visible light images can filter out background objects, screen out foreground targets, and supplement foreground target areas that are not fully detected in infrared images; Similar area detection in infrared images can detect foreground targets that are mistakenly filtered out during the search process between infrared and visible light images.
7. The feature complementary image processing method of infrared-visible light images under low illumination according to claim 6, characterized in that: In the step S3, searching for matching MSERs similar regions also includes: Take infrared image I IR A type of MSERs region Ω CIR , In the visible light image I V Search for this type of Ω CIR Middle MSERs region Mapping R V ,R V There are MSERs areas in the region then and Perform similarity detection, and record the similar matching area pairs of the two images if they meet the similarity conditions. As a candidate target area, Among them, R V is the searched visible light image I V The similar matching area in R IR is the infrared image I IR Similar matching area in the middle; In the visible light image I V Exhaustive search of infrared images I IR All categories of MSERs area Ω CIR , until there is no matching MSERs area; mapping area matching can filter out foreground targets, and similarity detection can filter In addition to background objects, it can assist in locating and detecting targets and supplement the foreground target areas that have not been fully detected in the infrared image.
8. The feature complementary image processing method of infrared-visible light images under low illumination according to claim 1, characterized in that: The step S4 also includes: matching the visible light image with the infrared image in the MSERs region and fusing the image, wherein the fusion rule is based on the grayscale values of the two images.
9. The feature complementary image processing method of infrared-visible light images under low illumination according to claim 8, characterized in that: In step S4, the fusion rule is based on the grayscale values of the two images, and further includes: Take the mean gray value of all pixels in area R and calculate it as follows: In the formula, N represents the number of pixels in the area, and g(m,n) is the grayscale value corresponding to the pixel in the area; The target region F after the final fusion matching MSERs region is expressed as follows: In the formula, R IR (m,n) represents the MSERs area matched in the infrared image, R V (m,n) represents the MSERs region matched in the visible light image; when there is no matching MSERs region between the two images, or R IR (m,n) belongs to a type of MSERs region Ω CIR , then directly obtain the MSERs area R marked in the infrared image IR (m,n) output.
Citation Information
Patent Citations
Visible light image and infrared image matching method
CN110222749A
Infrared target long-distance tracking method based on background characteristics
CN110245566A
Feature complementation image processing method for infrared-visible light image under low illumination
CN116310675A
Method for monitoring object through image fusion in monitoring system
KR1020140017222A
Cited By
Multi-mode unmanned aerial vehicle target detection framework based on scene language perception guidance
CN119360243A
Hot target extraction method and system based on infrared image recognition
CN119672321A
Electronic device and method for infrared and visible light target fusion
CN120107660A
Prohibited article binding detection method and system based on dual-light image
CN120412024A
Multispectral remote sensing image target detection method and system based on complementary mask
CN121074700A
