Aviation airborne navigation image target identification method based on harmony search of spatial entropy

The method addresses the challenges of low-contrast and complex environments in aviation navigation images by using spatial entropy and harmony search to enhance contrasts and optimize threshold segmentation for accurate target recognition.

CN119205832AActive Publication Date: 2024-12-27LOONGRISE AVIONICS CO LTD

Patent Information

Application Number
CN202411696868.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2024-12-27
Estimated Expiration
2044-11-26

AI Technical Summary

Technical Problem

Existing aviation airborne navigation image processing methods face challenges in accurately recognizing small targets with low contrast, multiple backgrounds, and environmental variability due to their complexity and lack of adaptability under complex conditions.

Method used

An image processing method utilizing spatial entropy and harmony search, involving grayscale conversion, contrast enhancement, threshold segmentation, and harmony search optimization to enhance global and local image contrasts and identify optimal threshold points for accurate target recognition.

Benefits of technology

The method effectively enhances image contrasts and reduces computational complexity, enabling rapid convergence to optimal threshold points for precise target recognition and segmentation in low-contrast airborne navigation images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119205832A_ABST
    Figure CN119205832A_ABST
Patent Text Reader

Abstract

The invention discloses an aviation airborne navigation image target identification method based on harmony search of spatial entropy, which comprises the following steps of: calculating an image gray space distribution entropy value by using position distribution information of an image gray space, mapping the image gray space distribution entropy value into a uniform distribution function, and performing 2D-DCT (two-dimensional discrete cosine transform), transformation system weighting and inverse 2D-DCT linear transformation processing to obtain a harmony search result. The global and local contrast of an original image is enhanced at the same time, the harmony search algorithm of the maximum entropy is applied in combination, although the algorithm is similar to a genetic algorithm, a multi-point mating mode is adopted in the process of searching a new solution in the field, so that the new solution is more diversified, and the possibility that the algorithm jumps out of a local optimal solution is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of aviation airborne navigation image processing, and in particular to an aviation airborne navigation image target recognition method based on spatial entropy and harmony search. Background Art

[0002] In the field of aviation airborne navigation image processing, many target detection methods focus on image processing at high resolution. They usually use deep learning algorithms such as R-CNN (Region with CNN feature), SSD (Single Shot MultiBox Detector), ANN, and construct multi-scale feature fusion algorithms. Most of them are complex in principle and difficult to implement. Therefore, this paper introduces an automatic classification technology after airborne navigation image processing. By setting image conversion, feature extraction and result comparison, it realizes the automatic conversion recognition and classification functions of airborne navigation image sets. The entire algorithm system is fully automated under the control of deep learning network technology, and the classification effect of deep learning network is improved through human intervention and optimization algorithm upgrade.

[0003] The system includes an image acquisition preprocessing module, an image recognition module, and an image comparison and classification module. Its working principle is as follows: the image acquisition preprocessing module is mainly responsible for the preliminary processing of the image. First, the airborne navigation image set is input into the system, and after grayscale processing, it is convenient for subsequent algorithm recognition and analysis, and then simple classification such as viewpoint change and zoom analysis is performed; then the image recognition module is input, which is responsible for identifying and extracting the features of similar objects in the grayscale image, and using probability theory and statistical methods, approximation theory and other analytical operations for joint processing to obtain the feature recognition of the target to be measured in the image; finally, image comparison and classification are performed, based on the deep neural network learning model, through artificial variable assignment weight update, simulation prediction analysis and other algorithm processing, the target in the image is automatically classified and identified according to the features.

[0004] The above-mentioned automatic classification technology for airborne navigation image processing is based on the control of deep learning network technology, which is fully automated. It does not need to rely on the operator's experience and knowledge and does not need to adjust parameters repeatedly. The processing process is relatively simple and efficient. However, considering that deep neural networks are still used in this technology, the complexity of its algorithm design is still not low, and it does not pay attention to the fact that small targets in airborne navigation images have little information, low contrast, multiple backgrounds, and are easily affected by weather and environment. This makes the algorithm not very adaptable and robust under such complex environmental conditions.

[0005] In summary, a method for target recognition in aviation airborne navigation images based on spatial entropy and harmony search is needed to address the deficiencies in the prior art. Summary of the invention

[0006] In view of the deficiencies in the prior art, the present invention provides an aviation airborne navigation image target recognition method based on spatial entropy and harmony search, aiming to solve the above problems.

[0007] To achieve the above object, the present invention provides the following technical solution: an aviation airborne navigation image target recognition method based on spatial entropy harmony search, comprising the following steps: Step S1: grayscale the original image and convert it into a grayscale image; Step S2: Calculate the grayscale space entropy and distribution function of the image according to the two-dimensional space histogram, and perform contrast enhancement on the image; Step S3: transformation and local contrast enhancement, weighting the transformation domain coefficients to enhance the contrast of the local image; Step S4: Find the best threshold segmentation point, and find the best threshold segmentation point by searching the optimal algorithm according to the characteristics of the recorded navigation image and the specific target features; Step S5: Output of target recognition and segmentation results. According to the determined optimal grayscale vector, the best threshold segmentation point is obtained, and threshold segmentation is performed accordingly to output the final target recognition and segmentation result image.

[0008] Optionally, the grayscale conversion of the original image in step S1 is performed in the following manner: Determine the pixel value range corresponding to each gray level, convert the original image into an image with K gray levels, and calculate the two-dimensional spatial histogram on the spatial grid of the image to make the original image correspond to the gray image.

[0009] Optionally, the two-dimensional spatial histogram on the spatial grid of the calculated image is: Assuming the original image size is H*W, x(i,j) is the value of each pixel in image X, x(i,j) [0, z+], and As a set of K gray levels of image X, , calculate the gray level on the spatial grid of X The two-dimensional space histogram of is: , Where m, n z+,h k (m,n) [0,z+] is the region of the image located in the spatial grid The number of times grayscale Xx appears, The total number of grids on the two-dimensional histogram is M*N, using the number K of different gray levels and the ratio , , in It means taking the nearest integer to form grayscale The two-dimensional space histogram of , while preserving the aspect ratio of the original image on the spatial grid.

[0010] Optionally, the entropy measure for calculating the gray level in step S2 is: , Evaluating discrete functions Measuring Grayscale Relative to the rest of the grayscale , and normalize it: , , Where K is the number of gray levels.

[0011] Optionally, the distribution function F is calculated in step S2 k for: , , In the formula , , , .

[0012] Optionally, the transformation and local contrast enhancement in step S3 are performed in the following manner: Set the original image and the transformed image of the same size to X and D respectively. , , , , , Where: The values ​​of k and l represent the frequency components, Modify the transform domain coefficient d(k,l) to obtain a higher frequency transform coefficient , , , In the formula, To increase the weighted frequency allocation coefficient, Perform the inverse transformation: , , Obtain an output image with enhanced global or local contrast.

[0013] Optionally, in step S4, to find the optimal threshold segmentation point, the following method is used: Step S41: According to the characteristics of the airborne navigation image and the features of specific targets, preset an initial set of feature thresholds as the gray vector X=(x1,x2,...,xn) of the initial threshold segmentation point, where 1 < n < 128, and the threshold segmentation point follows a normal distribution; Step S42: At each initial threshold segmentation point, calculate the sum of the entropy values H(n) of the two categories of target and background, generate an initial harmony memory library HM, select one or more harmonies from the harmony library, and perform pitch fine-tuning to generate new harmonies; Step S43: Calculate the entropy values of the two categories A and B at each gray level corresponding to the new harmony vector, take the maximum entropy value as the solution under this vector, and if this value is greater than the value in HM, update the harmony memory library HM; Step S44: When the number of times of updating the gray vector reaches the preset number of iterations, or when the sum of the entropy values of solving the two categories A and B under the new gray vector reaches the maximum, determine the optimal threshold segmentation point.

[0014] Optionally, in step S43, the entropy values of the two categories A and B at each gray level corresponding to the new harmony vector are: Set the image gray level to be divided into two categories A and B at Th, where A and B are respectively composed of all pixels with gray levels in [0,Th] and [Th + 1,n] in the image, , , In the formula: is the sum of the gray level probabilities from 1 to Th, is the sum of the gray level probabilities from Th + 1 to n, and P i is the probability distribution of each gray level in the image.

[0015] Optionally, in step S44, the sum of the entropy values of the two categories A and B is: , The harmony memory library is: .

[0016] Optionally, in step S5, the threshold image segmentation is as follows: Perform binary processing on the image, select a threshold to convert it into a black-and-white image, and judge the size of the gray value in the image compared with the threshold. If the gray value is greater than the threshold, set the gray value of the pixel to 255, otherwise set it to 0.

[0017] Advantages of the present invention: 1. In the present invention, the airborne navigation image is taken from a high altitude, and the contrast of the image is relatively low, making it difficult to distinguish the target from the background, and the target recognition is relatively difficult. The position distribution information of the image grayscale space is used to calculate the image grayscale space distribution entropy value, and it is mapped into a uniform distribution function, and then through 2D-DCT, transformation system weighting and inverse 2D-DCT linear transformation processing, the global and local contrast of the original image is enhanced simultaneously; 2. In the present invention, the harmony search algorithm combined with maximum entropy is used. Although it is similar to the genetic algorithm, in the process of searching for new solutions in the field, a multi-point mating mode is adopted to make the new solutions more diverse and increase the possibility of the algorithm jumping out of the local optimal solution; 3. In the present invention, the combination and application of the entropy concept makes full use of the grayscale information of the image to achieve simultaneous enhancement of the global and local contrast of the traditional image, and takes the threshold value when the entropy value of the target and background takes the maximum entropy value as the optimal threshold segmentation point to achieve accurate recognition and segmentation of specific targets in the image; 4. In the present invention, the maximum entropy harmony search algorithm is combined, and the amount of calculation is significantly reduced. When searching, the grayscale set based on the initial threshold is appropriately selected, which can effectively accelerate the speed of algorithm search convergence and quickly obtain the optimal threshold segmentation point. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 The present invention is a flow chart of a method.

[0019] Figure 2 The present invention is a flow chart of calculating distribution function.

[0020] Figure 3 This is a flow chart of an optimal threshold point of the present invention. DETAILED DESCRIPTION

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

[0022] like Figure 1 , 2 As shown in , a method for target recognition of aviation airborne navigation images based on harmony search of spatial entropy includes the following contents: Using the position distribution information of the image grayscale space, the entropy value of the image grayscale space distribution is calculated to obtain a uniform distribution function, which is then mapped into a uniform distribution function to achieve global image contrast enhancement. After 2D-DCT, transform domain coefficient weighting, and 2D-DCT inverse transformation, the local image contrast is further enhanced. After obtaining simultaneous enhancement of the global and local images, the improved harmony search optimal algorithm is used to find the optimal background and image segmentation threshold point to achieve the final target detection and recognition. The algorithm implementation steps are as follows: The original image is grayed out and converted into a grayscale image. Assuming the original image size is H*W, x(i,j) is the value of each pixel in image X, x(i,j) [0, z+], and As a set of K gray levels of image X, , calculate the gray level on the spatial grid of X The two-dimensional space histogram of is: , Where m, n z+,hk(m,n) [0,z+] is the region of the image located in the spatial grid The number of times grayscale xx appears. The total number of grids on the two-dimensional histogram is M*N, using the number K of different gray levels and the ratio , , in It means taking the nearest integer to form grayscale The two-dimensional space histogram of When , the aspect ratio of the original image is preserved on the spatial grid, thereby preserving the spatial characteristics of the pixels; Calculate the grayscale space entropy and distribution function of the image: According to the two-dimensional spatial histogram, calculate the entropy measure of the grayscale: , Evaluating discrete functions Measuring Grayscale Relative to the rest of the grayscale , the relative importance of K, and normalized: , , Calculate the cumulative distribution function and map it to image Y according to the distribution function: , , in, , , .

[0023] After the above global contrast enhancement, in order to enhance the local contrast at the same time, based on the above processing, two-dimensional discrete cosine transform (2D-DCT) is used again, and after transform domain coefficient weighting and 2D-DCT inverse transformation, an output image with global and local enhanced contrast is obtained; The steps of 2D-DCT transformation, weighting and inverse transformation of transform domain coefficients are as follows: Assume that the original image and the transformed image of the same size generated by 2D discrete cosine transform are X and D respectively, where: , , , , , Among them, the values ​​of k and l represent the frequency components respectively. In order to increase the local contrast, it is necessary to adjust the higher frequency transformation coefficient, that is, to correct the transformation domain coefficient d(k,l) to obtain a higher frequency transformation coefficient ,in It is the weighted frequency allocation coefficient after being increased.

[0024] , , The higher the value of ɑ, the higher the local enhancement. The parameter selection is calculated according to the entropy value estimation formula mentioned above; γ [0,1] determines the degree of local contrast enhancement. When the value is 0, there is only global enhancement. In this algorithm, its value can be selected as 1. After the transform domain coefficients are weighted, the following formula is used to perform 2D-DCT inverse transform to obtain an output image that is both globally and locally enhanced: .

[0025] , After the above-mentioned 2D-DCT transformation, transform domain function weighting and 2D-DCT inverse transformation, an image with enhanced global and local contrast is obtained.

[0026] After obtaining the output contrast-enhanced image, the improved harmony search optimal algorithm will be used to find the optimal threshold segmentation point, so as to accurately segment and identify the specific target in the image; First, according to the characteristics of airborne navigation images and the features of specific targets, an initial set of feature thresholds is preset, serving as the gray vector X = (x1, x2,..., xn) of the initial threshold segmentation points, where 1 < n < 128, and the threshold segmentation points follow a normal distribution; at each initial threshold segmentation point, there is a corresponding sum of entropy values H(n) for the two categories of target and background calculated at this threshold point, generating an initial harmony memory library HM. Among them, the principle and formula for calculating the entropy value are as follows: For an image with a gray level of n, p1, p2,..., pn are the probability distributions of each gray level in the image. The image gray level is divided into two categories A and B at Th, where A and B are composed of all pixels with gray levels in [0, Th] and [Th + 1, n] in the image respectively.

[0027] Let represent the sum of gray level probabilities from 1 to Th, represent the sum of gray level probabilities from Th + 1 to n, then the probability distribution of each gray level pixel in category A within the entire category A pixel set is: , ,..., , The probability distribution of each gray level pixel in category B within the entire category B pixel set is: , ,..., . The information entropies H(A) and H(B) of categories A and B are calculated as follows: , , Then the sum of the information entropies of categories A and B: .

[0028] Randomly generate HMS harmony vectors according to the initial threshold segmentation point set and the corresponding entropy values and put them into the harmony memory library HM, and record the entropy value function f(X) under the corresponding vectors. The form of the generated initial harmony memory library HM is as follows: .

[0029] According to the dichotomy method and empirical considerations, select one or more harmonies from the harmony library and perform pitch fine-tuning to generate new harmonies. Assume that each variable (k = 1, 2,..., m) in the new harmony variable X' has a probability of HMCR (memory consideration rate, the probability of selecting a harmony from the harmony library) of being taken from the initial harmony library HM If any value is selected from HM, there is a probability of 1-HCMR to randomly select any value in the entire initial threshold set. When the new variable is taken from HM, in order to increase the diversity of solutions and expand the search range, it is necessary to fine-tune the variable. The probability of fine-tuning is PAR. At this time, the new variable : , Where rand is a random number uniformly distributed between [0,1], BW is the bandwidth of pitch fine-tuning (generally 1 in this grayscale image threshold), and the updated harmony vector can be obtained by the above update criteria; Calculate the entropy values ​​of the two categories A and B under each grayscale sequence corresponding to the new harmony vector, and take the largest entropy value as the solution of f(X') under this vector. If this value is greater than f(X') in HM, i ), it is replaced, indicating that the threshold segmentation effect under the new vector is better, so the harmony memory HM is updated; If the number of grayscale vector updates reaches the preset number of iterations, or the sum of the entropy values ​​of the two categories A and B under the new grayscale vector reaches the maximum (or the entropy increase is no longer obvious), it means that the grayscale value at this time reaches the optimal threshold segmentation point; if the number of iterations is not reached or the entropy value continues to increase, return to step 6 to re-update the grayscale vector, and continue to calculate the entropy value and determine whether the termination condition is met; According to the determined optimal grayscale vector, the best threshold segmentation point is obtained and threshold segmentation is performed accordingly, and the final target recognition and segmentation result image is output.

[0030] Threshold image segmentation is a common image processing algorithm. The core is the binary processing of the image. A threshold is selected to convert it into a black and white binary image: if the gray value in the image is greater than a certain threshold, the gray value of the pixel is set to 255, otherwise it is set to 0. It is often used for image segmentation and edge extraction. Assuming that the optimal threshold point is s obtained by the above method, and the image after the original image is grayed is x, the image threshold segmentation can be achieved by using the MATLAB professional drawing function (im2bw(s,x)).

[0031] Alternative 1: For low-contrast images, the grayscale distribution is too concentrated in an area with a very small dynamic range, and the grayscale changes between the target and the background are not large, which makes it difficult to segment the target and the background. For this reason, linear or nonlinear transformations are usually used to expand the dynamic range of the grayscale, or histogram equalization is used to make the grayscale distribution fill the entire grayscale level space to improve the image contrast.

[0032] This algorithm is based on the grayscale information of the image. First, after the image is grayed, the grayscale mean is taken for a rectangular area centered on a certain point of the image to replace the original grayscale value, and then the grayscale variance image of the original image is calculated, thereby achieving image contrast enhancement; then grayscale partitioning is performed, and the image is classified according to the grayscale attributes of the pixels, and a group of grayscale values ​​are selected to divide it into different grayscale areas, and the variance in each interval is minimized, thereby dividing the grayscale of the entire image into several areas; finally, the areas with the same grayscale are connected together, and the median filtering method is used to remove noise and then connect the areas with the same grayscale, thereby achieving the segmentation of the target and the background.

[0033] The method is simple in principle, easy to implement and convenient to calculate. It makes full use of the grayscale information of the image and eliminates the influence of low contrast and background noise of the image. It completes the segmentation of the image target only by calculating the mean and variance of the grayscale, performing grayscale variance interval division and median filtering.

[0034] Alternative 2: The threshold segmentation method based on maximum entropy is one of the most commonly used algorithms in image segmentation processing. Entropy in information theory is a concept used to measure the amount of information: the more uniform the distribution, the greater the entropy. In image processing, it is to make full use of the grayscale information of the image, gray the image, and then divide all the pixels in the image into two categories, target and background, according to a certain threshold. When both tend to be evenly distributed, the values ​​of the target entropy and background entropy calculated separately also tend to be maximum, and the effect of separating the target and background is the best at this time.

[0035] When this solution is adopted, the original image is directly grayed out, and then the entropy value is calculated according to the preset threshold. All gray values ​​are traversed to calculate the target and background entropy. When the sum of the two reaches the maximum, this threshold is the optimal threshold segmentation point. By performing image segmentation according to the optimal threshold segmentation point, the target can be identified and segmented.

[0036] This method is simple to implement, easy to operate, and has stable performance. It only requires graying the image, calculating the entropy value at each gray level, and finding the gray value that maximizes the entropy value. This eliminates the algorithm step of designing and searching for the optimal threshold, thereby greatly reducing the complexity of the image segmentation algorithm and has been widely used in practice.

[0037] Airborne navigation images are taken from a high altitude, and the contrast of the images is relatively low, making it difficult to distinguish between the target and the background, and target recognition is relatively difficult. The position distribution information of the image grayscale space is used to calculate the image grayscale space distribution entropy value, and it is mapped into a uniform distribution function. Then, it is processed by 2D-DCT, transform system weighting and inverse 2D-DCT linear transformation to achieve simultaneous global and local contrast enhancement of the original image. The application of the harmony search algorithm combined with maximum entropy is similar to the genetic algorithm, but in the process of searching for new solutions in the field, a multi-point mating mode is adopted to make the new solutions more diverse and increase the possibility of the algorithm jumping out of the local optimal solution; The combination and application of the concept of entropy value makes full use of the grayscale information of the image to achieve simultaneous enhancement of the global and local contrast of the traditional image, and uses the threshold value when the entropy value of the target and background takes the maximum entropy value as the optimal threshold segmentation point to achieve accurate recognition and segmentation of specific targets in the image; Combined with the maximum entropy harmony search algorithm, the amount of calculation is significantly reduced. When searching, the grayscale set based on the initial threshold is properly selected, which can effectively speed up the algorithm search convergence and quickly obtain the optimal threshold segmentation point.

[0038] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modification, equivalent substitution or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for target recognition in aviation airborne navigation images based on spatial entropy and harmony search, characterized in that: It includes the following steps: Step S1: Grayscale the original image and convert it into a grayscale image; Step S2: Calculate the gray space entropy and distribution function of the image according to the two-dimensional spatial histogram, and enhance the contrast of the graph; Step S3: Transform and enhance the local contrast, perform weighted processing on the transform domain coefficients, and enhance the contrast of the local image; Step S4: Find the optimal threshold segmentation point. According to the characteristics of the recorded navigation image and specific target features, search for the optimal threshold segmentation point through the optimal algorithm; Step S5: Output the target recognition and segmentation result. According to the determined optimal gray vector, obtain the optimal threshold segmentation point, and perform threshold segmentation based on this to output the image of the final target recognition and segmentation result.

2. The method for aviation airborne navigation image target recognition based on spatial entropy and harmony search according to claim 1 is characterized in that: In the above-mentioned step S1, the original image is grayscaled in the following way: Determine the pixel value range corresponding to each gray level, convert the original image into an image with K gray levels, and calculate the two-dimensional spatial histogram on the spatial grid of the image to make the original image correspond to the grayscale image.

3. The method for aviation airborne navigation image target recognition based on spatial entropy and harmony search according to claim 2 is characterized in that: The calculation of the two-dimensional spatial histogram on the spatial grid of the image is as follows: Assuming the original image size is H*W, x(i,j) is the value of each pixel in image X, x(i,j) [0, z+], and As a set of K gray levels of image X, , calculate the gray level on the spatial grid of X The two-dimensional space histogram of is: , Where m, n z+,h k (m,n) [0,z+] is the region of the image located in the spatial grid The number of times grayscale Xx appears, The total number of grids on the two-dimensional histogram is M*N, using the number K of different gray levels and the ratio , , in It means taking the nearest integer to form grayscale The two-dimensional space histogram of , while preserving the aspect ratio of the original image on the spatial grid.

4. The method for aviation airborne navigation image target recognition based on spatial entropy and harmony search according to claim 1 is characterized in that: The calculation of the entropy measure of the gray level in the above-mentioned step S2 is: , Evaluating discrete functions Measuring Grayscale Relative to the rest of the grayscale , and normalize it: , , In the formula, K is the number of gray levels.

5. The method for aviation airborne navigation image target recognition based on spatial entropy and harmony search according to claim 1 is characterized in that: In step S2, the distribution function F is calculated. k for: , , In the formula , , , .

6. The method for aviation airborne navigation image target recognition based on spatial entropy and harmony search according to claim 1 is characterized in that: In the above-mentioned step S3, the transformation and local contrast enhancement are carried out in the following way: Set the original image of the picture and the transformed image of the same size generated by the transformation as X and D respectively, , , , , , where: the values of k and l respectively represent the frequency components, Modify the transform domain coefficient d(k,l) to obtain a higher frequency transform coefficient , , , In the formula, To increase the weighted frequency allocation coefficient, Perform inverse transformation: , , Obtain the output image with enhanced global or local contrast.

7. The method for aviation airborne navigation image target recognition based on spatial entropy and harmony search according to claim 1 is characterized in that: In the above-mentioned step S4, the optimal threshold segmentation point is found in the following way: Step S41: According to the characteristics of the airborne navigation image and specific target features, preset the initial feature threshold set as the gray vector X=(x1,x2,...,xn) of the initial threshold segmentation point, where 1 < n < 128, and the threshold segmentation point is a normal distribution; Step S42: Under each initial threshold segmentation point, calculate the sum H(n) of the entropy values of the two categories of target and background, generate the initial harmony memory library HM, select one or more harmonies from the harmony library, and perform pitch fine-tuning to generate new harmonies; Step S43: Calculate the entropy values of the two categories A and B at each gray level corresponding to the new harmony vector, take the maximum entropy value as the solution under this vector, and if this value is greater than the value in HM, update the harmony memory library HM; Step S44: When the number of times of updating the gray vector reaches the preset iteration times, or when the sum of the entropy values of the two categories A and B under the new gray vector reaches the maximum, determine the optimal threshold segmentation point.

8. The method for aviation airborne navigation image target recognition based on spatial entropy and harmony search according to claim 7 is characterized in that: The calculation of the entropy values of the two categories A and B at each gray level corresponding to the new harmony vector in the above-mentioned step S43 is: Set the image gray level to be divided into two categories A and B at Th, where A and B are respectively composed of all pixels with gray levels in [0,Th] and [Th + 1,n] in the image, , , Where: is the sum of gray level probabilities from 1 to Th, is the sum of gray level probabilities from Th+1 to n, P i is the probability distribution of gray levels in the image.

9. The method for aviation airborne navigation image target recognition based on spatial entropy and harmony search according to claim 8 is characterized in that: The sum of the entropy values of the two categories A and B in the above-mentioned step S44 is: , The harmony memory library is: 。 10. The method for aviation airborne navigation image target recognition based on spatial entropy and harmony search according to claim 1, characterized in that: The threshold image segmentation in the above-mentioned step S5 is: Perform binarization processing on the image, select a threshold to convert it into a black-and-white image, and judge the size of the gray value in the image and the threshold. If the gray value is greater than the threshold, set the gray value of the pixel to 255, otherwise set it to 0.

Citation Information

Patent Citations

  • Threshold segmentation method based on quick iteration of two-dimensional Tsallis gray entropy

    CN111553926A

  • Video scene segmentation method and device, visual task processing method and device, equipment and medium

    CN115937742A

  • Image adjustment apparatus, image adjustment method and program

    US20230162335A1

  • Medical image segmenting method

    WO2018086433A1

Cited By

  • Target recognition method for airborne navigation image based on harmony search of spatial entropy

    WO2026113246A1