Image enhancement method based on forest-grass wetland patches

By disassembling and segmenting the forest and grass wetland map spots, the problems of uneven image enhancement and loss of details in the existing technology are solved, and efficient and balanced image enhancement of the forest and grass wetland map spots is achieved, which improves the geographic Feature display effect.

CN118314054BActive Publication Date: 2024-09-20STATE FORESTRY BUREAU SURVEY PLANNING & DESIGN INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410742005.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-20
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

Existing image enhancement technology has problems such as uneven enhancement effects, loss of details and insufficient processing accuracy when processing geographical images. Especially for geographical images with a large proportion of forest, grass and wetland spots, the overall enhancement method cannot meet the geographical characteristics. Targeted display requirements for elements.

Method used

By performing layer disassembly and segmentation processing on forest and grassland wetland patch images, the original attribute label information of the patch image to be processed is obtained for preprocessing, the size of the segmentation window of the disassembled layer is determined, and the disassembled composite layer group is Grid segmentation is performed, image enhancement is performed layer by layer, and finally the local mosaic patch patches are spliced ​​into a global enhanced image.

Benefits of technology

It achieves the balance and detail protection of image enhancement, improves the accuracy and efficiency of image processing, can better display the details and geographical features of forest and grass wetland spots, and ensures the local detail quality and overall consistency of the image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118314054B
    Figure CN118314054B
Patent Text Reader

Abstract

The present invention discloses an image enhancement method based on forest-grass wetland map patches, which relates to the field of image processing technology, including: S1, forest-grass wetland map patch image preprocessing, S2, layer decomposition and segmentation processing, S3, global forest-grass wetland map patch enhanced image output. The present invention realizes layer decomposition and segmentation processing of forest-grass wetland map patch images, and performs image enhancement processing on multiple decomposition and segmentation sub-layers, which can further avoid blurring or loss of details in the image, provide effective support and guarantee for meeting the targeted display needs of geographical feature elements, and is conducive to improving the balance of image enhancement effects, ensuring that image details are not lost, and increasing image processing accuracy, which can better display the details and geographical features in the forest-grass wetland map patches, and ensure the high quality of local details of the image, and have the consistency and integrity of the overall image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of image processing, and in particular to an image enhancement method based on forest-grass-wetland map patches. Background Art

[0002] Forest, grassland and wetland map patches refer to specific areas identified in geographic information systems and remote sensing images. These areas have specific vegetation types or ecological characteristics, including forests, grasslands and wetlands. Forest, grassland and wetland map patches are of great significance in ecological environment monitoring, land management and natural resource protection. Accurate forest, grassland and wetland map patch data help optimize the utilization of natural resources.

[0003] The prior art, such as the invention patent with announcement number: CN116757965B, is an image enhancement method, device and storage medium, which relates to the field of autonomous driving image processing technology. The image enhancement method includes: obtaining an original image, and processing the original image through an image enhancement model to obtain a target residual image, the image enhancement model is obtained based on a basic model trained by multiple sample degraded images, the sample degraded image is obtained by performing a degradation operation on a sample high-definition image, the degradation operation includes downsampling degradation and motion blur degradation, and the target enhanced image is obtained based on the original image and the target residual image. By using the image enhancement model obtained by training the sample degraded image obtained by the degradation operation of the sample high-definition image to process the original image with insufficient clarity obtained by shooting, the target residual image corresponding to the original image can be output, and the target enhanced image is obtained based on the original image and the target residual image, thereby achieving the high-definition enhancement effect of the camera.

[0004] The prior art, such as the invention patent with announcement number: CN117710235B, is an image target enhancement method, device, computer equipment and storage medium. By obtaining a differential image between two adjacent frames of images and dividing the differential image into multiple pixel blocks, a target pixel block that meets the motion attribute in the multiple pixel blocks is determined, and a target pixel point that meets the motion attribute in the target pixel block is determined. According to the determined target pixel point, a moving target object is determined in the image to be enhanced and enhanced. The image to be enhanced includes any one of the two adjacent frames of images, and coarse and fine detection of target pixels in the image to be enhanced is realized, and only the moving target object in the image to be enhanced is enhanced, which solves the problem of low accuracy of the moving target enhancement method in the related art and improves the accuracy of the image target enhancement method.

[0005] However, in the above-mentioned image enhancement processing methods, it is usually limited to processing the entire image or the target object in the image with the same enhancement method, and the use of the overall enhancement method may cause the details in the image to be blurred or lost. For geographic images with a larger frame ratio, the overall image enhancement method cannot effectively meet the targeted display needs of geographic feature elements. Therefore, the current image enhancement processing methods have the problems of uneven enhancement effect, easy loss of image details and insufficient processing accuracy. Summary of the invention

[0006] In view of the deficiencies in the prior art, the present invention provides an image enhancement method based on forest, grassland and wetland map patches, which can effectively solve the problems involved in the above-mentioned background technology.

[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions: an image enhancement method based on forest, grassland and wetland map patches, including: a preprocessor receives a forest, grassland and wetland map patch image transmitted by an edge upload channel port, marks the forest, grassland and wetland map patch image as a patch image to be processed, and obtains the original attribute label information of the patch image to be processed for preprocessing, and obtains the disassembly layer segmentation window size of the patch image to be processed.

[0008] The patch image to be processed is decomposed into a composite layer group through a layer decomposer, wherein the composite layer group includes a first nested base layer, a second nested structure layer and a third nested texture layer, and based on the decomposition layer segmentation window size of the patch image to be processed, the composite layer group is segmented to obtain a gradient sub-layer group.

[0009] Based on the gradient sub-layer group, image enhancement processing is performed on the gradient sub-layer group through an image processor to obtain each local stitching image patch, and each local stitching image patch is stitched to obtain a patch enhanced image of the global forest, grassland and wetland map, and the patch enhanced image of the global forest, grassland and wetland map is output and displayed through the visual window of the upload channel port.

[0010] As a preferred technical solution, the original attribute label information of the patch image to be processed specifically includes horizontal resolution, vertical resolution, color depth, and pixel distribution density.

[0011] As a preferred technical solution, the original attribute label information of the patch image to be processed is obtained for preprocessing to obtain the disassembly layer segmentation window size of the patch image to be processed. The specific process is: based on the horizontal resolution, vertical resolution, color depth, and pixel distribution density of the patch image to be processed, and in turn compared with the sample horizontal resolution, sample vertical resolution, sample color depth, and sample pixel distribution density stored in the data station, the horizontal resolution sample ratio, vertical resolution sample ratio, color depth sample ratio, and pixel distribution density sample ratio of the patch image to be processed are obtained, and through weighted processing, the image quality constraint index of the patch image to be processed is obtained, and the image quality constraint index is used to characterize the quality of the patch image to be processed.

[0012] Mapping indicator data are collected from the data station, wherein the mapping indicator data include the harmonic segmentation window size corresponding to each feature quality constraint indicator interval, and mapping matching is performed with the mapping indicator data based on the feature quality constraint indicator of the patch image to be processed, and the harmonic segmentation window size obtained by mapping matching is marked as the decomposition layer segmentation window size of the patch image to be processed.

[0013] As an optimal technical solution, the composite layer group is segmented to obtain a gradient sub-layer group. The specific process is: based on the decomposition layer segmentation window size of the patch image to be processed, the first nested base layer, the second nested structure layer and the third nested texture layer in the composite layer group are grid-segmented one by one with the decomposition layer segmentation window size of the patch image to be processed to obtain several segmentation window layers corresponding to the first nested base layer, several segmentation window layers corresponding to the second nested structure layer, and several segmentation window layers corresponding to the third nested texture layer.

[0014] Several segmented window layers corresponding to the first nested base layer are marked as first-order gradient sub-layers.

[0015] The plurality of split window layers corresponding to the second nested structure layer are marked as second-order gradient sub-layers.

[0016] Several split window layers corresponding to the third nested texture layer are marked as third-order gradient sub-layers.

[0017] Integrate each first-order gradient sub-layer, each second-order gradient sub-layer, and each third-order gradient sub-layer into a gradient sub-layer group.

[0018] As a preferred technical solution, the image processor is used to perform image enhancement processing on the gradient sub-layer group, specifically including a first-order gradient image enhancement processing unit, a second-order gradient image enhancement processing unit, and a third-order gradient image enhancement processing unit, wherein the first-order gradient image enhancement processing unit is used to perform image enhancement processing on each first-order gradient sub-layer, the second-order gradient image enhancement processing unit is used to perform image enhancement processing on each second-order gradient sub-layer, and the third-order gradient image enhancement processing unit is used to perform image enhancement processing on each third-order gradient sub-layer.

[0019] As a preferred technical solution, the image enhancement processing is performed on each first-order gradient sub-layer, and the specific process is: obtaining the base image parameters of each first-order gradient sub-layer, comparing them with the associated base image parameters of each sample base layer stored in the data station, and obtaining the primary similarity measurement between each first-order gradient sub-layer and each sample base layer. The primary similarity measurement is used to characterize the similarity between each first-order gradient sub-layer and each sample base layer.

[0020] Based on the primary similarity measurement threshold stored in the data station, each sample base layer that is higher than or equal to the primary similarity measurement threshold is marked as each reference base layer, thereby counting the reference base layers of each first-order gradient sub-layer, and synchronously counting the image enhancement parameters of each reference base layer from the data station, and obtaining the specified base image enhancement parameters of each first-order gradient sub-layer through truncated mean processing.

[0021] Based on the specified base image enhancement parameters, each first-order gradient sub-layer is subjected to image enhancement processing through an image processor.

[0022] As a preferred technical solution, the image enhancement processing is performed on each second-order gradient sub-layer, and the specific process is: each first-order gradient sub-layer that undergoes image enhancement processing is recorded as each primary sub-layer.

[0023] Number each primary sublayer and each second-order gradient sublayer one by one to obtain the number of each primary sublayer and the number of each second-order gradient sublayer, superimpose the primary sublayer and the second-order gradient sublayer with the same number, obtain the superimposed second-order gradient sublayers, and mark them as mid-order sublayers.

[0024] The structural image parameters of each mid-order sub-layer are obtained, and compared with the associated structural image parameters of each sample structural layer stored in the data station to obtain the mid-order similarity measurement between each mid-order sub-layer and each sample structural layer. The mid-order similarity measurement is used to characterize the similarity between each mid-order sub-layer and each sample structural layer.

[0025] Based on the mid-order similarity measurement threshold stored in the data station, each sample structure layer that is higher than or equal to the mid-order similarity measurement threshold is marked with each reference structure layer, thereby counting each reference structure layer of each mid-order sub-layer, and synchronously counting the image enhancement parameters of each reference structure layer from the data station, and obtaining the specified structural image enhancement parameters of each mid-order sub-layer through truncated mean processing.

[0026] Based on the specified structural image enhancement parameters, each mid-order sub-layer is subjected to image enhancement processing through an image processor.

[0027] As a preferred technical solution, the image enhancement processing is performed on each third-order gradient sub-layer, and the specific process is: each second-order gradient sub-layer subjected to the image enhancement processing is recorded as each high-order sub-layer.

[0028] Number each high-order sublayer and each third-order gradient sublayer one by one to obtain the number of each high-order sublayer and each third-order gradient sublayer, superimpose the high-order sublayer and the third-order gradient sublayer with the same number, obtain the superimposed third-order gradient sublayers, and mark them as pre-spliced ​​sublayers.

[0029] The texture image parameters of each pre-splicing sub-layer are obtained, and compared with the associated texture image parameters of each sample texture layer stored in the data station to obtain a high-order similarity metric between each pre-splicing sub-layer and each sample texture layer, wherein the high-order similarity metric is used to characterize the similarity between each pre-splicing sub-layer and each sample texture layer.

[0030] Based on the high-order similarity metric threshold stored in the data station, each sample texture layer that is higher than or equal to the high-order similarity metric threshold is marked as each reference texture layer, thereby counting the reference texture layers of each pre-splicing sub-layer, and synchronously counting the image enhancement parameters of each reference texture layer from the data station, and obtaining the specified texture image enhancement parameters of each pre-splicing sub-layer through truncated mean processing.

[0031] Based on the specified texture image enhancement parameters, each pre-stitched sub-layer is subjected to image enhancement processing through an image processor, and each pre-stitched sub-layer after the image enhancement processing is recorded as each local stitching image patch.

[0032] As a preferred technical solution, the feature quality constraint index of the patch image to be processed has the following specific processing conditions:

[0033] ;

[0034] ;

[0035] ;

[0036] in, is the initial feature quality constraint index of the patch image to be processed, is the horizontal resolution sample ratio, is the vertical resolution sample ratio, is the color depth sample ratio, is the pixel distribution density sample ratio, is the weighting coefficient of the horizontal resolution sample ratio, is the weighting coefficient of the vertical resolution sample ratio, is the weighting coefficient of the color depth sample ratio, is the weighting coefficient of the pixel distribution density sample ratio, is the output value of the hidden layer of the activation function, The input layer weight matrix is ​​the activation function, is the activation function input layer bias matrix, is the feature quality constraint index of the patch image to be processed, is the activation function hidden layer weight matrix, Bias for the hidden layer output of the activation function.

[0037] Compared with the prior art, the embodiments of the present invention have at least the following beneficial effects:

[0038] (1) The present invention provides an image enhancement method based on forest, grassland and wetland map patches, which realizes layer decomposition and segmentation of forest, grassland and wetland map patch images, and performs image enhancement processing on multiple sub-layers of the decomposition and segmentation, overcoming the limitation that the current image processing is only performed in the same enhancement manner, and can further avoid the details in the image from being blurred or lost, providing effective support and guarantee for meeting the targeted display needs of geographic feature elements, which is beneficial to improving the balance of image enhancement effects, ensuring that image details are not lost, and increasing image processing accuracy.

[0039] (2) The present invention obtains the original attribute label information of the patch image to be processed for preprocessing, so that the basic quality of the image can be understood in the early stage of processing, and then when determining the size of the disassembly layer segmentation window, the important details of the image can be retained more accurately, thereby increasing the flexibility and adaptability of the window segmentation, and making the disassembly layer segmentation window size more in line with the original characteristics of the patch image to be processed, which helps to improve the efficiency of image enhancement processing and enhance the accuracy of subsequent image enhancement analysis.

[0040] (3) The present invention performs image enhancement processing on the gradient sub-layer group through an image processor, and performs independent image enhancement processing on each gradient sub-layer, so that the image enhancement is more targeted and flexible, and finally obtains each local mosaic patch for mosaic processing to obtain an enhanced image of the global forest, grassland and wetland map patches, which can better display the details and geographical features within the forest, grassland and wetland map patches, and help to more clearly identify and analyze geographical information, which not only ensures the high quality of the local details of the image, but also has the consistency and integrity of the overall image.

[0041] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a schematic diagram of the method flow of the present invention.

[0043] Figure 2 This is the forest, grassland and wetland map patch image involved in the embodiment of the present invention.

[0044] Figure 3 It is a schematic diagram of a window for splitting layers involved in an embodiment of the present invention.

[0045] Figure 4 The figure is a schematic diagram of the image enhancement process involved in an embodiment of the present invention. DETAILED DESCRIPTION

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

[0047] In the description of the present invention, it should be understood that the terms "opening", "upper", "lower", "thickness", "top", "middle", "length", "inside", "all around" and the like indicating orientation or positional relationship are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the components or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0048] See also Figure 1 As shown, an embodiment of the present invention provides a technical solution: an image enhancement method based on forest-grass wetland map patches, comprising: S1, forest-grass wetland map patch image preprocessing: a preprocessor receives the forest-grass wetland map patch image transmitted by an edge upload channel port, wherein the preprocessor is a computer processing hardware responsible for performing preliminary processing on the received image data in preparation for subsequent processing steps.

[0049] The edge upload channel port refers to a communication interface used to transmit data from an edge device (such as a sensor or an edge computing device) to a computer central processing system, which can ensure that the image data transmitted by the edge device can be transmitted to the preprocessor for processing in a timely and efficient manner.

[0050] Reference Figure 2 As shown, in this embodiment, the forest, grassland and wetland map patch image refers to a remote sensing or geographic information system (GIS) image containing woodland, grassland and wetland. The forest, grassland and wetland map patch images are usually used for environmental monitoring, land management and ecological research. Due to the complexity of natural ecosystems, the forest, grassland and wetland map patch images show great complexity in land feature type, morphology and spatial distribution. Therefore, detailed image enhancement processing is required.

[0051] The forest-grassland-wetland map patch image is marked as a patch image to be processed, and the original attribute label information of the patch image to be processed is obtained for preprocessing to obtain the decomposition layer segmentation window size of the patch image to be processed, wherein the original attribute label information of the patch image to be processed specifically includes horizontal resolution, vertical resolution, color depth, and pixel distribution density.

[0052] In this embodiment, the original attribute label information of the patch image to be processed is obtained by identifying the image reader, wherein the horizontal resolution refers to the number of pixels contained in the image in the horizontal direction, and the vertical resolution refers to the number of pixels contained in the image in the vertical direction. The resolution determines the clarity and detail level of the image. The higher the resolution, the clearer the image and the more details it can display. The color depth is also called bit depth, which refers to the number of binary bits used to represent the color of each pixel. The color depth determines the number of colors that the image can display and the degree of delicacy of color changes. The higher the color depth, the more types of colors the image can display and the smoother the color transition. The pixel distribution density usually refers to the number of pixels per unit area. The higher the density, the clearer the image.

[0053] In an embodiment, the present invention obtains the original attribute label information of the patch image to be processed for preprocessing, so as to understand the basic quality of the image in the early stage of processing, and then when determining the window size of the disassembly layer segmentation, it can more accurately retain the important details of the image, increase the flexibility and adaptability of the window segmentation, and make the window size of the disassembly layer segmentation more in line with the original characteristics of the patch image to be processed, which helps to improve the efficiency of image enhancement processing and enhance the accuracy of subsequent image enhancement analysis.

[0054] Specifically, the original attribute label information of the patch image to be processed is obtained for preprocessing to obtain the disassembly layer segmentation window size of the patch image to be processed. The specific process is: based on the horizontal resolution, vertical resolution, color depth, and pixel distribution density of the patch image to be processed, and in turn compared with the sample horizontal resolution, sample vertical resolution, sample color depth, and sample pixel distribution density stored in the data station, the horizontal resolution sample ratio, vertical resolution sample ratio, color depth sample ratio, and pixel distribution density sample ratio of the patch image to be processed are obtained, and through weighted processing, the image quality constraint index of the patch image to be processed is obtained, and the image quality constraint index is used to characterize the quality of the patch image to be processed.

[0055] In this embodiment, the feature quality constraint index of the patch image to be processed has specific processing conditions as follows:

[0056] ;

[0057] ;

[0058] ;

[0059] in, is the initial feature quality constraint index of the patch image to be processed, is the horizontal resolution sample ratio, is the vertical resolution sample ratio, is the color depth sample ratio, is the pixel distribution density sample ratio, is the weighting coefficient of the horizontal resolution sample ratio, is the weighting coefficient of the vertical resolution sample ratio, is the weighting coefficient of the color depth sample ratio, is the weighting coefficient of the pixel distribution density sample ratio, is the output value of the hidden layer of the activation function, The input layer weight matrix is ​​the activation function, is the activation function input layer bias matrix, is the feature quality constraint index of the patch image to be processed, is the activation function hidden layer weight matrix, Bias for the hidden layer output of the activation function.

[0060] In this embodiment, the above weighting coefficients are all random numbers between 0 and 1, and the value range of the output bias of the hidden layer of the activation function is between 0 and 1.

[0061] It should be noted that, in this embodiment, the number of elements in the activation function input layer weight matrix, the activation function input layer bias matrix, and the activation function hidden layer weight matrix is ​​determined by the number of hidden layer neurons in the activation function. The activation function includes an input layer, a hidden layer, and an output layer. The layers are connected by a weight matrix. For example, if the input layer is 1 feature input, the number of hidden layer neurons in the activation function is 4, and the output layer outputs a final output value, then the size of the activation function input layer weight matrix is ​​defined as 4 1 matrix, indicating that there are connection weights between 4 hidden layer neurons and 1 input feature, and the activation function input layer bias matrix size is defined as 4 1 matrix, represented by 4 hidden layer neurons, each hidden layer neuron has a bias term, and the activation function hidden layer weight matrix size is defined as 1 4 matrices, indicating that there are connection weights between 1 output layer and 4 hidden layer neurons.

[0062] It should also be noted that the values ​​of the elements in the above-mentioned activation function input layer weight matrix, activation function input layer bias matrix and activation function hidden layer weight matrix are all between 0 and 1.

[0063] Taking this embodiment as an example, the weighting coefficient of the horizontal resolution sample ratio, the weighting coefficient of the vertical resolution sample ratio, the weighting coefficient of the color depth sample ratio, and the weighting coefficient of the pixel distribution density sample ratio are sequentially calculated. , , , Assign values ​​to 0.5, 0.3, 0.2, and 0.4, and set the activation function input layer weight matrix to , set the activation function input layer bias matrix to , set the activation function hidden layer weight matrix to , set the output bias of the hidden layer of the activation function to 0.1. At the same time, there are 5 groups of sample patch images to be processed. After the processing conditions are executed, the initial image quality constraint indicators obtained by specific processing are as follows:

[0064] Table 1 Examples of initial image quality constraint indicators

[0065]

[0066] Combined with Table 1, the initial image quality constraint index example values ​​in Table 1 are further processed by the activation function in the processing condition to obtain the final image quality constraint index, as shown in the following table:

[0067] Table 2 Examples of feature quality constraint indicators

[0068]

[0069] Based on Table 2, it can be seen that the feature quality constraint index of the patch image 2 to be processed is at the highest value, indicating that under the given weight and activation function processing, the patch image 2 to be processed has the relatively highest feature quality constraint index, which means that the image quality of the patch image 2 to be processed in practical applications is relatively good. When the layer segmentation window size is disassembled, the patch image 2 to be processed can receive a larger segmentation window. Since images with better quality usually have less noise and clearer features, using a larger window for segmentation can cover a larger area of ​​image content, thereby reducing the number of segmentation windows, thereby improving processing efficiency and efficient use of the required computing resources, and also improving the robustness and accuracy of the segmentation results.

[0070] The mapping index data are counted from the data station, and the mapping index data include the harmonic segmentation window size corresponding to each feature quality constraint index interval. Based on the feature quality constraint index of the patch image to be processed, the mapping index data is mapped and matched, and the harmonic segmentation window size obtained by mapping and matching is marked as the decomposition layer segmentation window size of the patch image to be processed. For example, the decomposition layer segmentation window size is usually defined as: mm mm.

[0071] like Figure 3 FIG. 1 is a schematic diagram of a disassembly layer segmentation window according to an embodiment of the present invention. The size of the disassembly layer segmentation window in this embodiment is 50 mm. 50mm, the split window is composed of multiple dotted lines for grid division. Through window segmentation, the image enhancement effect can be more finely controlled, thereby improving the enhancement quality of the entire image.

[0072] S2. Layer decomposition and segmentation processing: The patch image to be processed is decomposed into a composite layer group through a layer decomposer, wherein the layer decomposer is an image processing tool used to split a complex image into its basic components or layers.

[0073] The composite layer group includes a first nested base layer, a second nested structure layer and a third nested texture layer, and is segmented based on the decomposition layer segmentation window size of the patch image to be processed to obtain a gradient sub-layer group.

[0074] It should be understood that the first nested base layer contains basic features of the image, such as local changes in edges, colors and textures, and the base layer is usually associated with low-frequency information of the image, reflecting the overall structure and global properties in the image.

[0075] The second nested structure layer describes higher-level structural information in the image, such as boundaries, contours, and the organizational structure of objects. The structure layer is usually associated with the intermediate frequency information of the image, reflecting the local shape and layout of the objects in the image.

[0076] The third nested texture layer describes the texture and subtle local features in the image, such as the repetitive pattern of the texture, the details of the surface and the changes in the material. The texture layer is usually associated with the high-frequency information of the image, reflecting the subtle texture and surface features in the image.

[0077] Specifically, the composite layer group is segmented to obtain a gradient sub-layer group. The specific process is: based on the decomposition layer segmentation window size of the patch image to be processed, the first nested base layer, the second nested structure layer and the third nested texture layer in the composite layer group are grid-segmented one by one with the decomposition layer segmentation window size of the patch image to be processed to obtain a number of segmentation window layers corresponding to the first nested base layer, a number of segmentation window layers corresponding to the second nested structure layer, and a number of segmentation window layers corresponding to the third nested texture layer.

[0078] Several segmented window layers corresponding to the first nested base layer are marked as first-order gradient sub-layers.

[0079] The plurality of split window layers corresponding to the second nested structure layer are marked as second-order gradient sub-layers.

[0080] Several split window layers corresponding to the third nested texture layer are marked as third-order gradient sub-layers.

[0081] Integrate each first-order gradient sub-layer, each second-order gradient sub-layer, and each third-order gradient sub-layer into a gradient sub-layer group.

[0082] It should be noted that the number of each first-order gradient sub-layer, each second-order gradient sub-layer, and each third-order gradient sub-layer as well as their mapping positions and sizes on the patch image to be processed are consistent.

[0083] S3. Output of enhanced image of the whole-area forest, grassland and wetland map patches: Based on the gradient sub-layer group, the gradient sub-layer group is subjected to image enhancement processing by an image processor to obtain each local mosaic patch.

[0084] It should be added that the image enhancement processing performed on the gradient sub-layer group includes, but is not limited to, image processing measures such as contrast enhancement, brightness enhancement, saturation enhancement, denoising, and edge enhancement.

[0085] The local stitching patches are stitched together by an image processor to obtain an enhanced image of the global forest, grassland and wetland map patches, and the enhanced image of the global forest, grassland and wetland map patches is presented and output through the visual window of the upload channel port, wherein the visual window refers to a window in a computer graphical user interface for displaying images or graphic outputs. The visual window can display the image data received from the upload channel port in real time so that the user can view and analyze the image instantly. The visual window is also interactive, allowing the user to zoom, translate, rotate and other operations on the image in order to better observe the image details.

[0086] The image processor is a software tool used to perform various operations and processes on digital images. The image processor can perform image processing tasks such as image enhancement, transformation, analysis, segmentation, and compression.

[0087] In an embodiment, the present invention performs image enhancement processing on the gradient sub-layer group through an image processor, and performs independent image enhancement processing on each gradient sub-layer, so that the image enhancement is more targeted and flexible, and finally obtains each local stitching patch for stitching processing to obtain an enhanced image of the global forest, grassland and wetland map patches, which can better display the details and geographical features within the forest, grassland and wetland map patches, and help to more clearly identify and analyze geographical information, which not only ensures the high quality of the local details of the image, but also has the consistency and integrity of the overall image.

[0088] Specifically, the image processor performs image enhancement processing on the gradient sub-layer group, which specifically includes a first-order gradient image enhancement processing unit, a second-order gradient image enhancement processing unit, and a third-order gradient image enhancement processing unit, wherein the first-order gradient image enhancement processing unit is used to perform image enhancement processing on each first-order gradient sub-layer, the second-order gradient image enhancement processing unit is used to perform image enhancement processing on each second-order gradient sub-layer, and the third-order gradient image enhancement processing unit is used to perform image enhancement processing on each third-order gradient sub-layer.

[0089] Furthermore, the image enhancement process is performed on each first-order gradient sub-layer, and the specific process is as follows:

[0090] The base image parameters of each first-order gradient sub-layer are obtained through an image processor, and compared with the associated base image parameters of each sample base layer stored in the data station to obtain a preliminary similarity measure between each first-order gradient sub-layer and each sample base layer. The preliminary similarity measure is used to characterize the similarity between each first-order gradient sub-layer and each sample base layer.

[0091] It should be supplemented that the base image parameters include indicators of various base image parameters, including but not limited to average brightness, average grayscale value, global contrast and spectral energy concentration, etc. The associated base image parameters include reference indicators of various base image parameters, such as reference average brightness, reference average grayscale value and reference global contrast, etc. It should be understood here that the base image parameters and the indicators in the associated base image parameters are mutually corresponding, and the associated base image parameters are also the ontological image feature parameters of each sample base layer.

[0092] In this embodiment, the primary similarity measurement between each first-order gradient sub-layer and each sample base layer is obtained using the following analysis conditions, specifically:

[0093] ;

[0094] in, represents the primary similarity measure between the first-order gradient sublayer i and the sample base layer g, Represents the dth base image parameter index of the first-order gradient sublayer i, The reference index representing the dth base image parameter of the sample base layer g, represents a natural constant, i represents the number of each first-order gradient sublayer, , q represents the number of first-order gradient sub-layers, g represents the number of the base layer of each sample, , z represents the number of sample base layers, d represents the number of each base image parameter, , f represents the number of basis image parameters.

[0095] Based on the primary similarity measurement threshold stored in the data station, each sample base layer that is higher than or equal to the primary similarity measurement threshold is marked as each reference base layer, thereby counting the reference base layers of each first-order gradient sub-layer, and synchronously counting the image enhancement parameters of each reference base layer from the data station, and obtaining the specified base image enhancement parameters of each first-order gradient sub-layer through truncated mean processing.

[0096] It should be understood that, in this embodiment, the image enhancement parameters include but are not limited to enhancing contrast, enhancing brightness, enhancing saturation, and the like.

[0097] Exemplarily, the designated base image enhancement parameters of each first-order gradient sub-layer are obtained through truncated mean processing, specifically: if the image enhancement parameter of each reference base layer is enhanced saturation, the reference base layers corresponding to the maximum enhanced saturation and the minimum enhanced saturation are eliminated, and the enhanced saturations of each reference base layer remaining after the elimination are statistically summed and averaged to obtain the designated enhanced saturation. In this way, the image enhancement parameters of each reference base layer are processed, and the image enhancement parameters obtained after the truncated mean processing are used as the designated base image enhancement parameters of each first-order gradient sub-layer.

[0098] Based on the specified base image enhancement parameters, each first-order gradient sub-layer is subjected to image enhancement processing through an image processor.

[0099] Furthermore, the image enhancement processing is performed on each second-order gradient sub-layer, and the specific process is: each first-order gradient sub-layer that undergoes image enhancement processing is recorded as each primary-order sub-layer.

[0100] Number each primary sublayer and each second-order gradient sublayer one by one to obtain the number of each primary sublayer and the number of each second-order gradient sublayer, superimpose the primary sublayer and the second-order gradient sublayer with the same number, obtain the superimposed second-order gradient sublayers, and mark them as mid-order sublayers.

[0101] It should be understood that the overlay processing involved in this embodiment refers to the overlay processing of two sub-layers at corresponding positions through an image processor, and the two sub-layers are merged accordingly at each pixel position to generate a new image containing the features of the two sub-layers.

[0102] The structural image parameters of each mid-order sub-layer are obtained through an image processor, and compared with the associated structural image parameters of each sample structural layer stored in the data station to obtain the mid-order similarity measurement between each mid-order sub-layer and each sample structural layer. The mid-order similarity measurement is used to characterize the similarity between each mid-order sub-layer and each sample structural layer.

[0103] It should be supplemented that the structural image parameters include indicators of various structural image parameters, including but not limited to global contrast, spectral energy concentration, edge density, average width of edge contour, etc., and the associated structural image parameters include reference indicators of various structural image parameters, such as reference global contrast, reference spectral energy concentration and reference edge density, etc. It should be understood here that the structural image parameters and the indicators in the associated structural image parameters are mutually corresponding, and the associated structural image parameters are the ontological image feature parameters of each sample structural layer.

[0104] In this embodiment, the mid-order similarity measure between each mid-order sub-layer and each sample structure layer is obtained using the following analysis conditions, specifically:

[0105] ;

[0106] in, represents the mid-order similarity measure between the mid-order sublayer n and the sample structure layer m, Represents the rth structural image parameter index of the middle-order sublayer n, Represents the reference index of the rth structural image parameter of the sample structural layer m, represents a natural constant, n represents the number of each mid-level sub-layer, , p represents the number of mid-level sub-layers, m represents the number of each sample structure layer, , s represents the number of sample structure layers, r represents the number of each structure image parameter, , u represents the number of structural image parameters.

[0107] Based on the mid-order similarity measurement threshold stored in the data station, each sample structure layer that is higher than or equal to the mid-order similarity measurement threshold is marked with each reference structure layer, thereby counting each reference structure layer of each mid-order sub-layer, and synchronously counting the image enhancement parameters of each reference structure layer from the data station, and obtaining the specified structural image enhancement parameters of each mid-order sub-layer through truncated mean processing.

[0108] It should be noted that the specific processing method of obtaining the specified structural image enhancement parameters of each mid-order sub-layer through truncated mean processing is consistent with the above-mentioned processing method of obtaining the specified base image enhancement parameters of each first-order gradient sub-layer through truncated mean processing, and will not be repeated here.

[0109] Based on the specified structural image enhancement parameters, each mid-order sub-layer is subjected to image enhancement processing through an image processor.

[0110] Furthermore, the image enhancement process is performed on each third-order gradient sub-layer, and the specific process is as follows:

[0111] The second-order gradient sub-layers for image enhancement processing are recorded as high-order sub-layers.

[0112] Number each high-order sublayer and each third-order gradient sublayer one by one to obtain the number of each high-order sublayer and each third-order gradient sublayer, superimpose the high-order sublayer and the third-order gradient sublayer with the same number, obtain the superimposed third-order gradient sublayers, and mark them as pre-spliced ​​sublayers.

[0113] The texture image parameters of each pre-splicing sub-layer are obtained through an image processor, and compared with the associated texture image parameters of each sample texture layer stored in the data station to obtain a high-order similarity metric between each pre-splicing sub-layer and each sample texture layer. The high-order similarity metric is used to characterize the similarity between each pre-splicing sub-layer and each sample texture layer.

[0114] It should be supplemented that the texture image parameters include various texture image parameter indicators, and the various texture image parameter indicators include but are not limited to grayscale co-occurrence matrix contrast (GLCM), histogram standard deviation, texture roughness and grayscale peak, etc. The associated texture image parameters include reference indicators of various texture image parameters, such as reference grayscale co-occurrence matrix contrast, reference histogram standard deviation and reference texture roughness, etc. It should be understood here that the texture image parameters and the indicators in the associated texture image parameters are mutually corresponding, and the associated texture image parameters are also the body image feature parameters of each sample texture layer.

[0115] In this embodiment, the high-order similarity measurement between each pre-joined sub-layer and each sample texture layer is obtained using the following analysis conditions, specifically:

[0116] ;

[0117] in, represents the high-order similarity measure between the pre-joined sublayer t and the sample texture layer j, Represents the vth texture image parameter index of the pre-stitched sub-layer t, Represents the reference index of the vth texture image parameter of sample texture layer j, represents a natural constant, t represents the number of each pre-joined sub-layer, , h represents the number of pre-joined sub-layers, j represents the number of each sample texture layer, , k represents the number of sample texture layers, v represents the number of each texture image parameter, , y represents the number of texture image parameters.

[0118] Based on the high-order similarity metric threshold stored in the data station, each sample texture layer that is higher than or equal to the high-order similarity metric threshold is marked as each reference texture layer, thereby counting the reference texture layers of each pre-splicing sub-layer, and synchronously counting the image enhancement parameters of each reference texture layer from the data station, and obtaining the specified texture image enhancement parameters of each pre-splicing sub-layer through truncated mean processing.

[0119] It should be noted that the specific processing method of obtaining the specified texture image enhancement parameters of each pre-stitched sub-layer through truncated mean processing is consistent with the above-mentioned processing method of obtaining the specified base image enhancement parameters of each first-order gradient sub-layer through truncated mean processing, and will not be repeated here.

[0120] Based on the specified texture image enhancement parameters, each pre-stitched sub-layer is subjected to image enhancement processing through an image processor, and each pre-stitched sub-layer after the image enhancement processing is recorded as each local stitching image patch.

[0121] like Figure 4 As shown, it is a schematic diagram of the image enhancement process in an embodiment of the present invention, wherein the first-order gradient sub-layer is processed by image processing to obtain a primary sub-layer, the primary sub-layer and the second-order gradient sub-layer are superimposed to obtain a mid-order sub-layer, the mid-order sub-layer (that is, the second-order gradient sub-layer after superimposition) is subjected to image enhancement processing to obtain a high-order sub-layer, the high-order sub-layer and the third-order gradient sub-layer are superimposed to obtain a pre-spliced ​​sub-layer, the pre-spliced ​​sub-layer (that is, the third-order gradient sub-layer after superimposition processing) is subjected to image enhancement processing to obtain a local spliced ​​image patch, and finally all the local spliced ​​image patches are spliced ​​to obtain a patch-enhanced image of the global forest, grassland and wetland map.

[0122] In an embodiment, by decomposing and segmenting the image and enhancing them separately, the waste of image processing resources can be reduced, different areas and different layers in the image can be better processed, the image as a whole is clearer, and the overall image enhancement processing quality is guaranteed.

[0123] In this embodiment, a data station is also used. The data station is a data space for storing verification data. In this embodiment, the data station is used to store a verification data set, and the verification data set includes a first sub-element, a second sub-element, a third sub-element, and a fourth sub-element.

[0124] The first sub-element specifically includes: sample horizontal resolution, sample vertical resolution, sample color depth, sample pixel distribution density and mapping index data.

[0125] The second sub-element specifically includes: associated base image parameters of each sample base layer, a primary similarity measurement threshold, and image enhancement parameters of each sample base layer.

[0126] The third sub-element specifically includes: associated structural image parameters of each sample structure layer, a mid-order similarity measurement threshold, and image enhancement parameters of each sample structure layer.

[0127] The fourth sub-element specifically includes: associated texture image parameters of each sample texture layer, a high-order similarity measurement threshold, and image enhancement parameters of each sample texture layer.

[0128] It should be understood that the verification data set is finally obtained after collection and verification in the test phase, and uploaded and stored in the data station.

[0129] In an embodiment, the present invention provides an image enhancement method based on forest, grassland and wetland map patches, which realizes layer decomposition and segmentation processing of forest, grassland and wetland map patch images, and performs image enhancement processing on the decomposed and segmented multiple sub-layers, overcoming the limitations of the current image processing only in the same enhancement manner, and can further avoid blurring or loss of details in the image, providing effective support and guarantee for meeting the targeted display needs of geographic feature elements, which is beneficial to improving the balance of image enhancement effects, ensuring that image details are not lost, and increasing image processing accuracy.

[0130] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0131] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that technicians in the relevant technical field can understand and use the present invention well. As long as they do not deviate from the structure of the present invention or exceed the scope defined by the present invention, they should all belong to the protection scope of the present invention.

Claims

1. An image enhancement method based on forest-grass wetland patches, characterized in that: include: The preprocessor receives the forest, grass and wetland map patch image transmitted by the edge upload channel port, marks the forest, grass and wetland map patch image as a patch image to be processed, obtains the original attribute label information of the patch image to be processed for preprocessing, and obtains the disassembly layer segmentation window size of the patch image to be processed; Decomposing the patch image to be processed into a composite layer group by a layer decomposer, wherein the composite layer group includes a first nested base layer, a second nested structure layer, and a third nested texture layer, and segmenting the composite layer group based on the decomposition layer segmentation window size of the patch image to be processed to obtain a gradient sub-layer group; Based on the gradient sub-layer group, the gradient sub-layer group is subjected to image enhancement processing by an image processor to obtain each local mosaic image patch, and each local mosaic image patch is subjected to mosaic processing to obtain a global forest, grass and wetland map patch enhanced image, and the global forest, grass and wetland map patch enhanced image is output and displayed through a visual window of an upload channel port; The original attribute label information of the patch image to be processed specifically includes horizontal resolution, vertical resolution, color depth, and pixel distribution density; The original attribute label information of the patch image to be processed is obtained for preprocessing to obtain the disassembly layer segmentation window size of the patch image to be processed. The specific process is as follows: Based on the horizontal resolution, vertical resolution, color depth, and pixel distribution density of the patch image to be processed, and sequentially compared with the sample horizontal resolution, sample vertical resolution, sample color depth, and sample pixel distribution density stored in the data station, the horizontal resolution sample ratio, vertical resolution sample ratio, color depth sample ratio, and pixel distribution density sample ratio of the patch image to be processed are obtained, and through weighted processing, the image quality constraint index of the patch image to be processed is obtained, and the image quality constraint index is used to characterize the quality of the patch image to be processed; Mapping indicator data are collected from the data station, wherein the mapping indicator data include the harmonic segmentation window size corresponding to each feature quality constraint indicator interval, and mapping matching is performed with the mapping indicator data based on the feature quality constraint indicator of the patch image to be processed, and the harmonic segmentation window size obtained by mapping matching is marked as the decomposition layer segmentation window size of the patch image to be processed.

2. The image enhancement method based on forest-grass-wetland map patches according to claim 1 is characterized by: The composite layer group is segmented to obtain a gradient sub-layer group, and the specific process is as follows: Based on the decomposition layer segmentation window size of the patch image to be processed, the first nested base layer, the second nested structure layer, and the third nested texture layer in the composite layer group are grid-segmented one by one using the decomposition layer segmentation window size of the patch image to be processed, to obtain a plurality of segmentation window layers corresponding to the first nested base layer, a plurality of segmentation window layers corresponding to the second nested structure layer, and a plurality of segmentation window layers corresponding to the third nested texture layer; Marking a number of segmented window layers corresponding to the first nested base layer as first-order gradient sub-layers; Marking a number of split window layers corresponding to the second nested structure layer as second-order gradient sub-layers; Marking a number of split window layers corresponding to the third nested texture layer as third-order gradient sub-layers; Integrate each first-order gradient sub-layer, each second-order gradient sub-layer, and each third-order gradient sub-layer into a gradient sub-layer group.

3. The image enhancement method based on forest and grass wetland map patches according to claim 2 is characterized by: The image processor is used to perform image enhancement processing on the gradient sub-layer group, which specifically includes a first-order gradient image enhancement processing unit, a second-order gradient image enhancement processing unit, and a third-order gradient image enhancement processing unit, wherein the first-order gradient image enhancement processing unit is used to perform image enhancement processing on each first-order gradient sub-layer, the second-order gradient image enhancement processing unit is used to perform image enhancement processing on each second-order gradient sub-layer, and the third-order gradient image enhancement processing unit is used to perform image enhancement processing on each third-order gradient sub-layer.

4. The image enhancement method based on forest-grass-wetland map patches according to claim 3 is characterized by: The specific process of performing image enhancement processing on each first-order gradient sub-layer is as follows: Obtaining the base image parameters of each first-order gradient sub-layer, comparing them with the associated base image parameters of each sample base layer stored in the data station, and obtaining the primary similarity measurement between each first-order gradient sub-layer and each sample base layer, wherein the primary similarity measurement is used to characterize the similarity between each first-order gradient sub-layer and each sample base layer; Based on the primary similarity measurement threshold stored in the data station, each sample base layer that is higher than or equal to the primary similarity measurement threshold is marked as each reference base layer, thereby counting each reference base layer of each first-order gradient sub-layer, and synchronously counting the image enhancement parameters of each reference base layer from the data station, and obtaining the designated base image enhancement parameters of each first-order gradient sub-layer through truncated mean processing; Based on the specified base image enhancement parameters, each first-order gradient sub-layer is subjected to image enhancement processing through an image processor.

5. The image enhancement method based on forest-grass-wetland map patches according to claim 3 is characterized by: The specific process of performing image enhancement processing on each second-order gradient sub-layer is as follows: Each first-order gradient sub-layer for image enhancement processing is recorded as each primary sub-layer; Numbering each primary sublayer and each second-order gradient sublayer one by one to obtain each primary sublayer number and each second-order gradient sublayer number, superimposing the primary sublayer and the second-order gradient sublayer with the same number, obtaining each superimposed second-order gradient sublayer, and marking them as each mid-order sublayer; Obtaining structural image parameters of each mid-order sub-layer, comparing them with the associated structural image parameters of each sample structural layer stored in the data station, and obtaining a mid-order similarity metric between each mid-order sub-layer and each sample structural layer, wherein the mid-order similarity metric is used to characterize the similarity between each mid-order sub-layer and each sample structural layer; Based on the mid-order similarity measurement threshold stored in the data station, each sample structure layer that is higher than or equal to the mid-order similarity measurement threshold is marked as each reference structure layer, thereby counting each reference structure layer of each mid-order sub-layer, and synchronously counting the image enhancement parameters of each reference structure layer from the data station, and obtaining the designated structure image enhancement parameters of each mid-order sub-layer through truncated mean processing; Based on the specified structural image enhancement parameters, each mid-order sub-layer is subjected to image enhancement processing through an image processor.

6. The image enhancement method based on forest-grass-wetland map patches according to claim 3 is characterized by: The specific process of performing image enhancement processing on each third-order gradient sub-layer is as follows: Each second-order gradient sub-layer for image enhancement processing is recorded as each high-order sub-layer; Numbering each high-order sublayer and each third-order gradient sublayer one by one to obtain the numbers of each high-order sublayer and each third-order gradient sublayer, superimposing the high-order sublayer and the third-order gradient sublayer with the same number, obtaining the superimposed third-order gradient sublayers, and marking them as pre-joined sublayers; Acquire texture image parameters of each pre-stitched sub-layer, compare them with the associated texture image parameters of each sample texture layer stored in the data station, and acquire a high-order similarity metric between each pre-stitched sub-layer and each sample texture layer, wherein the high-order similarity metric is used to characterize the similarity between each pre-stitched sub-layer and each sample texture layer; Based on the high-order similarity metric threshold stored in the data station, each sample texture layer that is higher than or equal to the high-order similarity metric threshold is marked as each reference texture layer, thereby counting each reference texture layer of each pre-stitched sub-layer, and synchronously counting the image enhancement parameters of each reference texture layer from the data station, and obtaining the specified texture image enhancement parameters of each pre-stitched sub-layer through truncated mean processing; Based on the specified texture image enhancement parameters, each pre-stitched sub-layer is subjected to image enhancement processing through an image processor, and each pre-stitched sub-layer after the image enhancement processing is recorded as each local stitching image patch.

7. The image enhancement method based on forest-grass-wetland map patches according to claim 1 is characterized by: The feature quality constraint index of the patch image to be processed, and the specific processing conditions are: ; ; ; in, is the initial feature quality constraint index of the patch image to be processed, is the horizontal resolution sample ratio, is the vertical resolution sample ratio, is the color depth sample ratio, is the pixel distribution density sample ratio, is the weighting coefficient of the horizontal resolution sample ratio, is the weighting coefficient of the vertical resolution sample ratio, is the weighting coefficient of the color depth sample ratio, is the weighting coefficient of the pixel distribution density sample ratio, is the output value of the hidden layer of the activation function, The input layer weight matrix is ​​the activation function, is the activation function input layer bias matrix, is the feature quality constraint index of the patch image to be processed, is the activation function hidden layer weight matrix, Bias for the hidden layer output of the activation function.