Infrared imaging suitability criterion training sample generation method

Through preprocessing and feature extraction of infrared imaging data, a training sample set is generated, which solves the problems of low efficiency in selecting infrared imaging matching areas and insufficient data, and achieves efficient and automatic infrared imaging suitability analysis.

CN118570581APending Publication Date: 2024-08-30CHINA SHIP DEV & DESIGN CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410712713.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the infrared imaging matching-assisted navigation system, manual selection of matching areas requires a large workload and is slow. Moreover, it is affected by the operator's knowledge level and experience, making it difficult to find a satisfactory matching area. The number of training sample sets for existing big data mining methods is insufficient. , it is difficult to meet the demand for real-time flight data.

Method used

A method for generating training sample sets for infrared imaging adaptability criteria is proposed. By acquiring infrared reconnaissance satellite image data, setting the scanning window and step size, intercepting and preprocessing images, extracting feature parameter sets, dividing positive and negative samples, and generating a training sample set , used for big data mining training to achieve infrared imaging adaptability analysis.

Benefits of technology

It achieves efficient generation of infrared imaging adaptability criterion training sample sets, improves the efficiency and consistency of matching area selection, reduces manual interaction, and meets the needs of real-time flight data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570581A
    Figure CN118570581A
Patent Text Reader

Abstract

The invention discloses an infrared imaging suitability criterion training sample generation method, and belongs to the technical field of image processing, and the method comprises the steps: obtaining an infrared reconnaissance satellite image data set, obtaining a Kth infrared scene image from the infrared image data set of a satellite, and setting a scanning window and a scanning step length; on the basis of the Mth scanning position, a reference infrared image Y with the size of the scanning window is intercepted, the center point of the infrared image Y serves as a reference point, an infrared image O larger than the infrared image Y is intercepted to serve as a reference image, data of the reference infrared image Y is preprocessed, and an infrared feature reference image C is generated; performing infrared feature correlation surface calculation on the infrared feature reference image map C and the reference infrared image map O to obtain correlation surface feature parameters, and performing feature data extraction on the reference image Y to obtain a reference feature parameter set; dividing the related surface feature parameter set and the feature reference parameter set into positive and negative samples, and adding the positive and negative samples into a training sample set; the method is high in efficiency, good in consistency and free of manual interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of image processing, and more specifically, relates to a method for generating a training sample set of infrared imaging adaptability criteria. Background Art

[0002] In the infrared imaging matching assisted navigation system, in order to achieve accurate positioning and reduce the possibility of deviation, in the process of preparing the reference map, those areas with obvious features and easy matching and positioning should be selected as the best matching areas, so that they have a higher matching probability and matching accuracy, laying the foundation for accurate navigation. The selection of the best matching area for infrared imaging refers to selecting a digital map with obvious features, large amount of information and high matching ability from a large number of infrared imaging maps of a certain size as a guidance reference map according to certain requirements and criteria. This process is also called infrared imaging adaptability analysis. When the amount of infrared imaging matching data is large, the manual selection of matching areas is labor-intensive and slow, and it is often difficult to find a satisfactory matching area due to subjective factors such as the operator's knowledge level and experience. The latest technology is to automatically generate adaptability analysis criteria based on big data mining methods. Therefore, it is necessary to form a training sample set, conduct big data mining training, obtain infrared imaging adaptability analysis criteria, and select the best matching area.

[0003] The scheme based on big data mining has certain requirements on the total number of training sample sets and the types of target coverage. In actual work, the amount of real-time flight data is difficult to meet the needs of training based on big data mining criteria. Therefore, a training sample set generation method based on basic remote sensing support data is needed to make up for the shortage of flight data. Summary of the invention

[0004] In view of the above defects or improvement needs of the prior art, the present invention proposes a method for generating a training sample set of infrared imaging adaptability criteria, which has high efficiency, good consistency and does not require manual interaction.

[0005] To achieve the above object, the present invention provides a method for generating infrared imaging adaptability criterion training samples, comprising:

[0006] Obtain an infrared reconnaissance satellite image data set, set K to 1, obtain the Kth infrared scene image from the satellite infrared image data set, set the scanning window and scanning step length, set M = 1; wherein the scanning step length can be set to an integer multiple of 8 pixel units;

[0007] For the Mth scanning position, a reference infrared image Y of the size of the scanning window is intercepted, and the center point of the infrared image Y is used as a reference point, and an infrared image O larger than the infrared image Y is intercepted as a reference image, and the infrared image Y is preprocessed to generate an infrared feature reference image C; wherein the infrared image reference image O can be 2 to 4 times the size of the infrared image reference image Y;

[0008] The infrared feature reference map C and the infrared image base map O are used to calculate the infrared feature correlation surface, and a correlation surface parameter set is obtained. The reference map C is subjected to feature extraction calculation to obtain a feature parameter set. The correlation surface parameter set includes the main peak height, the main-to-minor peak ratio, and the main peak eight-neighborhood ratio. The feature parameter set includes variance, gradient directional entropy, accumulated gradient value, and average gradient intensity.

[0009] Divide the correlation surface parameter set and the feature parameter set into positive and negative samples, and add them to the training sample set;

[0010] Determine whether all scanning areas of the K-th infrared scene image have been scanned. If not, add 1 to M and return to execute the M-th scanning area, intercept the reference infrared image Y of the scanning window size, and use the center point of the infrared image Y as the reference point to intercept the infrared image O larger than the infrared image Y as the reference image;

[0011] If the scanning of all scanning areas of the K-th scene image is completed, it is determined whether all images in the satellite infrared image data set have been scanned. If completed, they are added to the training sample set; if not, the K value is increased by 1, and the execution is returned to obtain the K-th infrared scene image from the satellite image data set, set the scanning window and scanning step size, and set M=1.

[0012] In some optional implementation schemes, the preprocessing of the reference image Y to generate the feature reference image C includes:

[0013] For the reference image Y, contrast stretching is performed to eliminate the influence of illumination on the image, and image Y1 is generated;

[0014] Perform Gaussian filtering on image Y1 to generate image Y2, and rotate image Y2 to generate image Y3;

[0015] Scale and interpolate image Y3 to generate image Y4 with scale distortion;

[0016] Perform Gaussian blur on image Y4 to generate image Y5 with imaging noise;

[0017] Fourier noise is added to image Y5 to generate a feature reference image C with frequency domain noise distortion.

[0018] In some optional implementations, rotating the image Y2 to generate the image Y3 includes:

[0019] The coordinates of the image Y2 with the upper left corner as the origin are converted to the image center as the origin, and after rotation, they are converted to the image Y3 with the upper left corner as the origin.

[0020] In some optional implementation schemes, the scaling and interpolation of the image Y3 to generate the image Y4 with scale distortion includes:

[0021] The coordinates of the pixel to be found in image Y4 are back-projected to the image Y3 before interpolation, and are assigned to the pixel to be found in image Y4 after grayscale distance weighting.

[0022] In some optional implementations, the adding Fourier noise to the image Y5 to generate a characteristic reference image C with frequency domain noise distortion includes:

[0023] Perform Fourier transform on image Y5 to obtain image spectrum F(Y5);

[0024] Add random noise to the image spectrum F(Y5) to obtain the noisy spectrum F'(Y5);

[0025] Then perform inverse Fourier transform on F'(Y5) to obtain the final noisy feature reference image C.

[0026] In some optional implementation schemes, dividing the relevant surface parameter set and the feature parameter set into positive and negative samples and adding them into a training sample set includes:

[0027] Assume that the matching real position of the feature reference infrared image C in the infrared image reference image O is (x m ,y m ), the peak coordinate of the correlation match is (x t ,y t ), the distance threshold is L t ;

[0028] Depend on Determine the sample positive and negative value S.

[0029] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:

[0030] The invention provides a method for generating a training sample set of infrared imaging adaptability criteria, which has high efficiency, good consistency and no need for manual interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of a method flow provided by an embodiment of the present invention;

[0032] Figure 2 It is a schematic diagram of a feature extraction process provided by an embodiment of the present invention;

[0033] Figure 3 is a sample diagram provided by an embodiment of the present invention;

[0034] Figure 4 is a sample feature extraction graph provided by an embodiment of the present invention;

[0035] Figure 5 It is a color distribution diagram provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0037] In the adaptability analysis, the correlation surface feature, as a type of feature that reflects the uniqueness of the ground object scene features, occupies an important position in the adaptability criteria. If the sub-region of the large image is directly used as a small image, the correlation surface will have an extremely high peak and a 100% matching probability. It can be seen that the sub-region of the large image cannot be directly used as a small image to obtain the correlation surface. Therefore, consider processing the corresponding sub-region of the reference image to make its correlation surface close to the correlation surface of the actual small image and the large image matching. In this way, the processed sub-region can be used as a small correlation surface image.

[0038] The following is a further detailed description of the method for generating a training sample set for infrared imaging adaptability criteria in conjunction with the accompanying drawings and specific embodiments. The steps are as follows:

[0039] Combination Figure 1 , the process of generating the training sample set is as follows:

[0040] (1) Obtain a satellite infrared image data set, and set K to 1;

[0041] (2) Obtain the Kth infrared scene image to be analyzed from the satellite infrared image data set, such as Figure 3 As shown, for the scene image data to be analyzed, a certain scanning window size (W×H, W is width, H is height, both in pixels; for example: W=320, H=256) and scanning step length (STEP, in pixels; for example, STEP=16) are set, and the scene image data to be analyzed is scanned block by block. Let M=1;

[0042] (3) For the Mth scanning position, a reference infrared image Y of the scanning window size is captured, and with the reference image Y as the center, an infrared image reference image O of a size of 3W×3H (in pixels) is captured.

[0043] (4) Preprocess the reference image Y to generate a feature reference image C. The feature reference image C is shown in Figure 4 . Combined Figure 2 , the specific method of preprocessing is:

[0044] (4.1) First, for the reference image Y, the influence of illumination on the image is eliminated by contrast stretching to generate image Y1.

[0045] (4.2) Perform Gaussian filtering on image Y1 to suppress the noise enhancement caused by contrast stretching and generate image Y2.

[0046] (4.3) Image rotation: Rotate the input image Y2 by a certain angle with the center of the image as the origin to form a new image Y3. Since it is rotated according to the center, there is naturally such a property: the distance between the point before and after the rotation and the center remains unchanged. Based on this property, the corresponding relationship between the coordinates of the rotated point and the original coordinates can be obtained. Since the coordinates of the original image are based on the upper left corner as the origin, the coordinates are first converted to the center of the image as the origin. Assume that the width of the original image is w, the height is h, (x0, y0) is a point in the original coordinates, and the point after the coordinate conversion is (x1, y1). It can be obtained:

[0047] x1=x0-w / 2,y1=-y0+h / 2;

[0048] In the new coordinate system, assuming that the distance between the point (x1, y1) and the origin is r, the angle between the line between the point (x1, y1) and the origin and the x-axis is b, the rotation angle is a, and the rotated point is (x2, y2).

[0049] X0=r×cosb;Y0=r×sinb

[0050] X2=r×cos(ba)=r×cosb×cosa+r×sina*sinb=X0×cosa+Y0×sina

[0051] Y2=r×sin(ba)=r×cosb×cosa-r×cosb×sina=-X0×sina+Y0×cosa

[0052] After getting the transformed coordinates, we just need to convert them back to the original coordinate system to get (x3, y3). Another point to note here is that the length and width of the rotated image will change, so we need to calculate the length and width of the new image.

[0053] (4.4) Based on the scaling interpolation of image Y3, generate image Y4 with scale distortion. Back-project the coordinates of the pixel to be found in image Y4 to the image Y3 before interpolation, and assign them to the pixel to be found after weighting according to the grayscale distance of the four neighboring pixels. Let (x, y) (x, y are positive integers) be the coordinates of the pixel to be found, (i+u, j+v) be the coordinates projected into the image Y3 before interpolation, i, j are integers, u, v are decimals, and p is the original image. Then the grayscale value of the pixel to be found is:

[0054] f(i,j)=v*[(1-u)*p(i+1,j)+u*p(i,j)]+(1-v)*[(1-u)*p(i+1,j+1+u*p(i,j+1))]

[0055] During the linear interpolation process, the image Y3 is slightly reduced or enlarged to simulate the geometric distortion and non-strict position alignment of non-homologous imaging.

[0056] (4.5) Image Y4 is Gaussian blurred to generate image Y5 with imaging noise. The image is filtered with a Gaussian template to achieve the purpose of blurring the reference image. Because the calculation of the correlation surface is mutual, the problem of which is blurrier between the large image and the sub-region of the large image is simplified to blurring the small image compared to the large image, in order to simulate the difference in clarity during real-time image imaging.

[0057] (4.6) Add Fourier noise to image Y5 to generate image C with frequency domain noise distortion. The specific steps are as follows:

[0058] Perform Fourier transform on image Y5 and transform it into frequency domain: Y5→F(Y5);

[0059] Add random noise to F(Y5): F'(Y5)=F(Y5)+rand(s), where s represents the intensity of the noise and rand(s) represents the random noise.

[0060] Then perform inverse Fourier transform on F'(Y5) to obtain the final noisy image C: F'(Y5)→C.

[0061] After the above steps, periodic texture features will appear in the image to simulate the noise in the non-homologous imaging process and the changes in the scene contour caused by different lighting conditions, such as Figure 5 shown.

[0062] (5) The preprocessed feature reference image C is used to perform correlation surface calculation with the reference image O, and the correlation surface parameter set is calculated, including the main peak height, the main-minor peak ratio, and the main peak eight-neighborhood ratio. At the same time, feature extraction calculation is performed on the reference image I to obtain a feature parameter set, including variance, gradient directional entropy, accumulated gradient value, and average gradient intensity.

[0063] (6) Divide the correlation surface parameter set and feature parameter set into positive and negative samples and add them to the training sample set. The specific division process is as follows:

[0064] Assume that the matching true position of the feature reference image C in the base image O is (x m ,y m ), the peak coordinate of the correlation match is (x t ,y t ), the distance threshold is L t (Take the empirical value 3); then the sample positive and negative value S can be expressed by the following formula:

[0065]

[0066] The criterion for dividing positive and negative samples cannot be directly used as a criterion for determining whether they are identifiable, because the simulated correlation surface cannot fully represent the real correlation surface, and is only close to the real correlation surface diagram at the feature level. When the number of samples is huge, it can be considered that the probability distribution of identifiable samples of the simulated correlation surface is close to the probability distribution of identifiable samples of the real one, and the classifier is based on probability, so the simulation results can be used as training sets.

[0067] (7) Determine whether all areas of the Kth infrared scene image have been scanned. If not, add 1 to M and return to step (3); if completed, proceed to step (8).

[0068] (8) Determine whether the scanning of all images in the satellite image data set has been completed. If so, determine the training sample set; if not, increase the K value by 1 and return to step (2).

[0069] Based on the training sample set, big data mining training is carried out to obtain the infrared imaging adaptability analysis criteria and select the best matching area.

[0070] Example

[0071] The training sample set generation method in infrared imaging suitability analysis has the following steps:

[0072] For the scene image data to be analyzed, a certain scanning window size (320×256: unit pixel) and scanning step length (16: unit pixel) are set to scan the visible light security data one by one and block by block.

[0073] At each scanned position, a reference image Y of the size of the scan window is captured, and a reference image O of a size of 960×768 (unit pixel) is captured with the reference image as the center.

[0074] Steps (1) and (2) are used to preprocess the reference image I to generate a feature reference image Z.

[0075] The pre-processed feature reference image C is used to calculate the correlation surface with the reference image O and extract the parameters related to the correlation surface. At the same time, feature extraction calculation is performed on the reference image Y to obtain a feature parameter set. The results of the training sample set of this embodiment are shown in Table 1.

[0076] Table 1

[0077]

[0078] It should be pointed out that, according to the needs of implementation, the various steps / components described in this application can be split into more steps / components, and two or more steps / components or partial operations of steps / components can be combined into new steps / components to achieve the purpose of the present invention.

[0079] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for generating infrared imaging adaptability criterion training samples, characterized in that: include: Obtain an infrared reconnaissance satellite image data set, set K to 1, obtain the Kth infrared scene image from the satellite infrared image data set, set the scanning window and scanning step length, and set M = 1; For the Mth scanning position, a reference infrared image Y of the scanning window size is intercepted, and the center point of the infrared image Y is used as the reference point, and an infrared image O larger than the infrared image Y is intercepted as the reference image, and the infrared image Y is preprocessed to generate an infrared feature reference image C; The infrared feature reference image C and the infrared image benchmark image O are used to calculate the correlation surface, and a correlation surface feature parameter set is obtained. The reference infrared image Y is used to extract features, and a feature parameter set is obtained. Divide the relevant surface feature parameter set and the feature reference parameter set into positive and negative samples, and add them into the training sample set; Determine whether all scanning areas of the K-th infrared scene image have been scanned. If not, add 1 to M and return to execute the M-th scanning area, intercept the reference infrared image Y of the scanning window size, and use the center point of the infrared image Y as the reference point to intercept the infrared image O larger than the infrared image Y as the reference image; If the scanning of all scanning areas of the K-th scene image is completed, it is determined whether all images in the satellite infrared image data set have been scanned. If completed, they are added to the training sample set; if not, the K value is increased by 1, and the execution is returned to obtain the K-th infrared scene image from the satellite image data set, set the scanning window and scanning step size, and set M=1.

2. The method according to claim 1, characterized in that The preprocessing of the reference infrared image Y to generate the infrared feature reference image C includes: For the reference infrared image Y, contrast stretching is performed to eliminate the influence of light on the image, and image Y1 is generated; Perform Gaussian filtering on image Y1 to generate image Y2, and rotate image Y2 to generate image Y3; Scale and interpolate image Y3 to generate image Y4 with scale distortion; Perform Gaussian blur on image Y4 to generate image Y5 with imaging noise; Fourier noise is added to image Y5 to generate a feature reference image C with frequency domain noise distortion.

3. The method according to claim 2, characterized in that The step of rotating the image Y2 to generate the image Y3 includes: The coordinates of the image Y2 with the upper left corner as the origin are converted to the image center as the origin, and after rotation, they are converted to the image Y3 with the upper left corner as the origin.

4. The method according to claim 3, characterized in that The step of scaling and interpolating the image I3 to generate the image Y4 with scale distortion includes: The coordinates of the pixel to be found in image Y4 are back-projected to the image Y3 before interpolation, and are assigned to the pixel to be found in image Y4 after grayscale distance weighting.

5. The method according to claim 4, characterized in that The method of adding Fourier noise to the image Y5 to generate a feature reference image Z with frequency domain noise distortion includes: Perform Fourier transform on image Y5 to obtain image spectrum F(Y5); Add random noise to the image spectrum F(Y5) to obtain the noisy spectrum F'(Y5); Then perform inverse Fourier transform on F'(Y5) to obtain the final noisy feature reference image C.

6. The method according to any one of claims 1 to 5, characterized in that: The related surface parameter set and the feature parameter set are divided into positive and negative samples and added into the training sample set. include: Assume that the matching true position of the feature reference image C in the base image Y is (x m ,y m ), the peak coordinate of the correlation match is (x t ,y t ), the distance threshold is L t ; Depend on Determine the sample positive and negative value S.