Image compression method and device for unmanned aerial photography
By dynamically adjusting the seed point search range, combining texture density and grayscale differences, and optimizing the super-pixel segmentation algorithm, the problem of over- or under-segmentation in UAV aerial image compression is solved, and the accuracy and efficiency of image compression are improved. It is applicable In environments with limited drone resources.
Patent Information
- Application Number
- CN202410926568.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-11
AI Technical Summary
Existing superpixel segmentation methods cannot fully consider the local details and features of the image due to the fixed search range in UAV aerial image compression, resulting in over-segmentation or under-segmentation problems, which affects the accuracy and robustness of image compression.
By dynamically adjusting the search range of the seed point, using the texture density and grayscale difference of the superpixel block to determine the importance of the seed point, optimizing the initial search range of the seed point, and combining the grayscale changes of adjacent frame images, adaptive Adjust the segmentation strategy to ensure image detail preservation and compression efficiency.
It improves the accuracy and robustness of image compression, reduces unnecessary calculations, improves processing speed and adaptability, is suitable for UAV platforms with limited resources, and achieves efficient image compression and fast transmission and storage.
Smart Images

Figure CN118488219B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image data processing, and in particular to an image compression method and device for unmanned aerial vehicle (UAV) aerial photography. Background Art
[0002] With the rapid development of drone technology, the application of drones in various industries is increasing. Drone aerial photography has become an important way to obtain high-quality images and data in many fields, such as agriculture, geographic surveying and mapping, environmental monitoring, etc. However, due to the huge amount of data obtained by drone sensors, data transmission and storage are challenged, so efficient image compression methods are needed to reduce the data size. Superpixel segmentation methods are often used for image compression of drone aerial images. Superpixel segmentation is an image processing technology that divides images into regions with similar features, thereby reducing redundant information in the image and improving compression efficiency.
[0003] The patent application document with publication number CN106384354A discloses a superpixel segmentation method based on the SLIC algorithm. For the existing SLIC superpixel segmentation method, images of multiple bands are converted into XYZ three stimulus colors, and then converted into CIELAB color space. The original SLIC method is generalized to realize the superpixel segmentation method under multiple band images, which provides an effective preprocessing means for the subsequent processing of high-resolution, multi-band images.
[0004] However, in the superpixel segmentation method, when the seed point searches for similar pixels, the search range of each seed point is fixed. A fixed search range may not fully consider the local details and features of the image, resulting in over-segmentation or under-segmentation in some areas. At the same time, the texture information of some background areas in the image is similar to the foreground area information, so using a consistent search range cannot take into account the importance of each seed point area in the image, which will affect the accuracy and robustness of the superpixel segmentation algorithm and reduce the accuracy of the compressed data of the drone aerial image. Summary of the invention
[0005] In order to solve the problem that a consistent search range cannot take into account the importance of each seed point in the image, thereby affecting the accuracy and robustness of the superpixel segmentation algorithm and reducing the accuracy of the compressed data of the UAV aerial photography images, the present invention provides an image compression method and device for UAV aerial photography.
[0006] In a first aspect, the present invention provides an image compression method for drone aerial photography, which adopts the following technical solution:
[0007] Any frame collected by the drone is used as the target image, and the target image is segmented into superpixels to obtain a superpixel image. The target image is represented by the grayscale mean of the pixels in each superpixel block in the superpixel image and the boundary pixels of the superpixel block to achieve compression of the target image; in each round of iteration of superpixel segmentation, the target search range of the seed point is determined, including: taking the product of the difference between the median and mean of the grayscale value in the superpixel block and the grayscale value range as the texture density of the superpixel block; determining the primary importance of the superpixel block according to the absolute value of the difference between the texture density of the superpixel block and the texture density of each of the remaining superpixel blocks, and the primary importance is positively correlated with the absolute value of the difference; determining the importance of the seed point, and the importance of the seed point satisfies: ; In the formula, represents the importance of the seed point of the nth superpixel block in the target image, represents the primary importance of the nth superpixel block in the target image, Represents the number of pixels in the nth superpixel block in the target image, Represents the adjacent image to the target image Frame image analysis, and Represents the grayscale value of the pixel at the corresponding position of the x-th pixel of the n-th superpixel block in the target image in the y-th frame image and the y+1-th frame image, Indicates the nth superpixel block in the target image The grayscale information entropy value of the mth frame in the frame, represents the variance function, M represents the total number of frames; according to the importance of the seed point, the initial search range of the seed point is optimized to obtain the target search range of the seed point, and the side length of the target search range is negatively correlated with the importance of the seed point; this round of superpixel segmentation is performed according to the target search range of various sub-points.
[0008] The search range of seed points is dynamically adjusted according to the texture density of superpixel blocks, which can reduce the over-segmentation of smooth areas while maintaining the key details of the image, thereby improving the balance between compression efficiency and image quality. The importance of seed points is dynamically determined by combining the texture density and grayscale difference of superpixel blocks, ensuring more accurate processing of detail-rich areas in the image, retaining more useful information, and reducing information loss caused by compression. The target search range is adaptively adjusted according to the importance of seed points, making the segmentation in complex areas of the image more refined, while reducing unnecessary segmentation in simpler areas, which not only ensures the accuracy of segmentation but also improves the processing speed. By intelligently adjusting the search range of seed points, the same processing of the entire image is avoided, unnecessary calculations are reduced, and the adaptability and processing efficiency of the algorithm under different image content and quality are improved, which is especially suitable for drone platforms with limited resources. Finally, through superpixel segmentation technology, the image is divided into areas with similar colors and textures, and only a small number of superpixel block sizes and grayscale means are used to represent the original image, which greatly reduces the amount of image data and achieves efficient image compression, which is suitable for the rapid transmission and storage of drone aerial images.
[0009] Further, the primary importance of the superpixel block satisfies the following relationship: ; In the formula, represents the primary importance of the nth superpixel block in the target image, represents the number of seed points other than the seed point of the nth superpixel block in the target image, Indicates the texture density of the nth superpixel block in the target image, Indicates the texture density of the u-th superpixel block outside the n-th superpixel block in the target image.
[0010] The primary importance of any seed point is determined by calculating the sum of the differences in texture density between the seed point and all other seed points in the image, which enables quantitative comparison of the significance of features in each region, optimizes the selection and focus on key areas in subsequent processing, and improves the pertinence and efficiency of image analysis.
[0011] Furthermore, the side length of the target search range satisfies the following relationship: ; In the formula, represents the side length of the target search range of the seed point of the nth superpixel block in the target image, represents the importance of the seed point of the nth superpixel block in the target image, Indicates the side length of the initial search range of the seed point, Represents the floor function.
[0012] By mapping the importance of seed points into an exponential decay function to dynamically adjust the search range length, we can achieve a finer focus on key areas or appropriate relaxation of non-key areas, optimize the accuracy and efficiency of superpixel segmentation, and improve the adaptability and resource utilization of image compression processing.
[0013] Furthermore, the current round of superpixel segmentation also includes: determining the importance of each pixel in the superpixel block based on the grayscale difference between the corresponding pixel in the adjacent multi-frame image and the primary importance of the superpixel block; in response to the average importance of the pixels in the superpixel block being greater than a preset optimization threshold, not performing the current round of superpixel segmentation on the superpixel block; in response to the average importance of the pixels in the superpixel block being not greater than the preset optimization threshold, within the target search range of the seed point, when the similarity between a certain pixel and the superpixel block to which multiple seed points belong is greater than a preset merging threshold, merging the pixel with the superpixel block with the greatest similarity, the similarity being negatively correlated with the grayscale difference between the pixels in the superpixel block and the seed point of the superpixel block within the target search range.
[0014] By considering the grayscale changes in the time series and the primary importance of superpixel blocks, the segmentation strategy is dynamically adjusted, which not only ensures the retention of key details in dynamic scenes, but also reduces unnecessary segmentation processing through merging, achieving a balance between complexity and quality in image compression processing, and significantly improving processing speed and image quality.
[0015] Furthermore, the similarity satisfies the following relationship: ; In the formula, Represents the similarity between the i-th pixel point in the target search range of the seed point of the n-th superpixel block in the target image and the n-th superpixel block, represents the grayscale value of the i-th pixel in the target search range of the seed point of the n-th superpixel block in the target image, Represents the grayscale mean of the pixels in the nth superpixel block in the target image, Represents the Euclidean distance between the i-th pixel point in the target search range and the seed point of the n-th superpixel block in the target image.
[0016] Furthermore, after the target image is compressed, the method further includes:
[0017] The grayscale mean values of the pixels in each superpixel block in the superpixel image of the target image are used to form a sequence, which is then compressed twice using a lossless compression algorithm.
[0018] In a second aspect, the present invention provides an image compression device for drone aerial photography, which adopts the following technical solution:
[0019] An image compression device for unmanned aerial photography comprises: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the above-mentioned image compression method for unmanned aerial photography is implemented.
[0020] By adopting the above technical solution, the above-mentioned image compression method for drone aerial photography is generated into a computer program and stored in a memory to be loaded and executed by a processor, so that a terminal device is made based on the memory and the processor for easy use.
[0021] The present invention has the following technical effects:
[0022] By analyzing the grayscale data of each seed point, the present invention can more accurately determine the region boundary and achieve more refined image segmentation; then combined with the analysis of the degree of continuous change of adjacent multiple frames, it helps to adjust the search range of the seed point, so that the algorithm can better adapt to image changes in different scenes and improve the robustness and accuracy of segmentation; the target search range can reduce the amount of calculation of the algorithm processing and increase the processing speed, making the algorithm more suitable for real-time or large-scale image processing tasks; at the same time, the target search range can avoid over-segmentation or under-segmentation in complex backgrounds, improve the accuracy of the segmentation results, and thus reduce the degree of data loss after compression of the image taken by the drone, thereby increasing the accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-restrictive manner, and the same or corresponding reference numerals represent the same or corresponding parts.
[0024] Figure 1 The present invention is a flowchart of an image compression method for drone aerial photography according to an embodiment of the present invention.
[0025] Figure 2 The present invention is a flowchart of performing superpixel segmentation on a target image in an image compression method for drone aerial photography according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] 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 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0027] It should be understood that when the terms "first", "second", etc. are used in the claims, descriptions, and drawings of the present invention, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the description and claims of the present invention indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their collections.
[0028] The embodiment of the present invention discloses an image compression method for drone aerial photography, referring to Figure 1 , comprising steps S1 to S3:
[0029] S1: Acquire target image.
[0030] Any frame captured by the drone is used as the target image.
[0031] S2: Perform superpixel segmentation on the target image to obtain a superpixel image.
[0032] In each round of superpixel segmentation, reference Figure 2 , step S2 includes steps S21 to S25, which are specifically as follows:
[0033] S21: Determine the texture density of the superpixel block.
[0034] The product of the difference between the median and mean grayscale values in the superpixel block and the grayscale value range is taken as the texture density of the superpixel block. The specific relationship is as follows:
[0035] ;
[0036] In the formula, Indicates the texture density of the nth superpixel block in the target image, and Indicates the maximum and minimum grayscale values of the pixels in the nth superpixel block in the target image. and Represents the median and average grayscale values of the pixels in the nth superpixel block in the target image.
[0037] Indicates the extreme gray value in the nth superpixel block in the target image. The larger the value, the more obvious the gradient change in the area, the richer the texture information in the area, and the greater the texture density; It represents the difference between the median and the average grayscale value in the nth superpixel block in the target image. The larger the value, the more outliers there are in the grayscale values of the pixels in this area. That is, the more discrete the grayscale values in this area are, the greater the texture density in this area will be.
[0038] S22: Determine the primary importance of the superpixel block.
[0039] The primary importance of the superpixel block is determined according to the absolute value of the difference between the texture density of the superpixel block and the texture density of each of the remaining superpixel blocks, and the primary importance is positively correlated with the absolute value of the difference.
[0040] The primary importance of the superpixel block satisfies the following relationship:
[0041] ;
[0042] In the formula, represents the primary importance of the nth superpixel block in the target image, represents the number of seed points other than the seed point of the nth superpixel block in the target image, Indicates the texture density of the nth superpixel block in the target image, Indicates the texture density of the u-th superpixel block outside the n-th superpixel block in the target image.
[0043] It represents the sum of the difference values between the texture density of the nth superpixel block and the texture density of all superpixel blocks in the image except the nth superpixel block. The larger the value, the greater the difference between the texture density of the nth superpixel block and other superpixel blocks in the entire image. It can be further explained that the fewer areas in the image with texture features similar to the nth superpixel block, the greater the primary importance of the superpixel block.
[0044] S23: Determine the importance of the seed point.
[0045] The importance of the seed point is determined based on the grayscale difference between the pixel points in the superpixel block to which the seed point belongs and the corresponding pixel points in the adjacent multi-frame images, as well as the primary importance of the superpixel block to which the seed point belongs. The importance of the seed point is positively correlated with the primary importance and the difference, wherein the seed point is the central pixel point of the superpixel block to which it belongs.
[0046] The importance of the seed point satisfies the following relationship:
[0047] ;
[0048] In the formula, represents the importance of the seed point of the nth superpixel block in the target image, represents the primary importance of the nth superpixel block in the target image, Represents the number of pixels in the nth superpixel block in the target image, Represents the adjacent image to the target image Frame image analysis, and Represents the grayscale value of the pixel at the corresponding position of the x-th pixel of the n-th superpixel block in the target image in the y-th frame image and the y+1-th frame image, Indicates the nth superpixel block in the target image The grayscale information entropy value of the mth frame in the frame, represents the variance function, and M represents the total number of frames.
[0049] The background region is usually considered to be a larger, more uniform area in the image, and the foreground region is usually considered to be a relatively small, high-contrast or detail-rich area in the image.
[0050] It represents the sum of the difference values between the corresponding grayscale values of all the pixels of the nth superpixel block in the multiple frames before the current image. The larger the value is, the more drastic the change in the grayscale value of the pixels in the superpixel block in multiple consecutive frames. It can be said that the greater the degree of change of the nth superpixel block in multiple consecutive frames, the greater the possibility that the superpixel block belongs to the foreground area and its importance will be. The larger the value, the greater the value of the nth superpixel block. The greater the discreteness of the grayscale information entropy value under the frame, the greater the degree of change of the nth superpixel block under multiple consecutive frames, the greater the possibility that the superpixel block belongs to the foreground area, and the greater its importance.
[0051] S24: Determine the target search range of the seed point.
[0052] The initial search range of the seed points is optimized according to the importance of the seed points to obtain the target search range of the seed points. The side length of the target search range is negatively correlated with the importance of the seed points.
[0053] The side length of the target search range satisfies the following relationship:
[0054] ;
[0055] In the formula, represents the side length of the target search range of the seed point of the nth superpixel block in the target image, represents the importance of the seed point of the nth superpixel block in the target image, Indicates the side length of the initial search range of the seed point, Represents the floor function.
[0056] In superpixel segmentation, background and foreground areas are usually treated differently. Background areas are usually considered to be larger and more uniform areas in the image, so larger superpixels may be used to represent the background to reduce the number of superpixels and improve segmentation efficiency. A larger search range allows the initial superpixel block to merge more potential pixels similar to it; the opposite is true for the foreground area. The greater the similarity between the pixel points in the region and the superpixel block to which the seed point belongs, the more likely it is to belong to the foreground area. In this case, a smaller superpixel block should be used in superpixel segmentation to ensure that more detail information can be retained during image compression. The smaller the similarity between the pixel points in the region and the superpixel block to which the seed point belongs, the more likely it is to belong to the background area. In this case, a larger superpixel block should be used in superpixel segmentation to reduce the degree of refinement of the background area, thereby more efficiently reducing the redundancy of background data during image compression while ensuring that details of the foreground area are retained.
[0057] S25: Perform superpixel segmentation in this round according to the target search range of various sub-points.
[0058] In one embodiment, performing the current round of superpixel segmentation includes:
[0059] For each pixel in the target image, the pixel may be within the search range of multiple seed points. The distance between the pixel and the seed point corresponding to the target search range to which it belongs is calculated, and the pixel is assigned to the seed point with the smallest distance between the pixel and the seed point. By assigning each pixel in the target image, this round of superpixel segmentation is achieved. It should be noted that calculating the distance between the pixel and the seed point corresponding to the target search range to which it belongs and assigning the pixel to the seed point with the smallest distance between the pixel and the seed point are well-known techniques in the superpixel segmentation algorithm, which will not be described in detail here.
[0060] In another embodiment, performing the current round of superpixel segmentation further includes:
[0061] The importance of each pixel in the superpixel block is determined based on the grayscale difference between the corresponding pixel in the adjacent multi-frame image and the primary importance of the superpixel block; in response to the average importance of the pixels in the superpixel block being greater than a preset optimization threshold, the superpixel block is not subjected to the current round of superpixel segmentation; in response to the average importance of the pixels in the superpixel block being not greater than the preset optimization threshold, within the target search range of the seed point, when the similarity between a certain pixel and the superpixel block to which multiple seed points belong is greater than a preset merging threshold, the pixel is merged with the superpixel block with the greatest similarity, and the similarity is negatively correlated with the grayscale difference of the pixels within the target search range of the superpixel block and the seed point of the superpixel block.
[0062] The grayscale value of a superpixel block is the grayscale mean of all pixels in the superpixel block. When the size of the superpixel block is smaller, the number of pixels contained in the superpixel block is smaller, and the influence of each pixel on the overall grayscale mean is greater. Therefore, the grayscale mean of the superpixel block can better reflect local details and changes, and can better represent the detailed information of the superpixel block. Therefore, when the importance mean of the pixels in the superpixel block is larger, it means that the pixels in the superpixel block need to be retained more during superpixel segmentation.
[0063] Implementers can set the merging threshold, such as 0.7, and the optimization threshold, such as 0.5, according to actual implementation conditions.
[0064] The similarity satisfies the following relationship:
[0065] ;
[0066] In the formula, Represents the similarity between the i-th pixel point in the target search range of the seed point of the n-th superpixel block in the target image and the n-th superpixel block, represents the grayscale value of the i-th pixel in the target search range of the seed point of the n-th superpixel block in the target image, Represents the grayscale mean of the pixels in the nth superpixel block in the target image, Represents the Euclidean distance between the i-th pixel point in the target search range and the seed point of the n-th superpixel block in the target image.
[0067] S3: The target image is represented by the size of each superpixel block in the superpixel image and the grayscale mean of the pixels in the superpixel block to achieve compression of the target image.
[0068] Furthermore, after the target image is compressed, the method further includes:
[0069] The grayscale mean values of the pixels in each superpixel block in the superpixel image of the target image are used to form a sequence, which is then compressed twice using a lossless compression algorithm.
[0070] Implementers may select a specific lossless compression algorithm to perform secondary compression on the sequence according to actual conditions, such as LZW algorithm, Huffman coding, etc.
[0071] An embodiment of the present invention further discloses an image compression device for drone aerial photography, comprising a processor and a memory, wherein the memory stores computer program instructions. When the computer program instructions are executed by the processor, an image compression method for drone aerial photography according to the present invention is implemented.
[0072] The above system also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, and their configuration and functions are known in the art, so they will not be described in detail here.
[0073] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus or device. For example, a computer-readable storage medium may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module or both. Any such computer storage medium may be part of a device or accessible or connectable to a device.
[0074] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.
[0075] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An image compression method for drone aerial photography, characterized in that: include: Any frame collected by the drone is used as the target image, and the target image is segmented into superpixels to obtain a superpixel image. The target image is represented by the grayscale mean of the pixels in each superpixel block in the superpixel image and the boundary pixels of the superpixel block to achieve compression of the target image. In each round of superpixel segmentation, the target search range of the seed point is determined, including: The product of the difference between the median and mean of the grayscale values in the superpixel block and the grayscale range is taken as the texture density of the superpixel block; the primary importance of the superpixel block is determined according to the absolute value of the difference between the texture density of the superpixel block and the texture density of each other superpixel block, and the primary importance is positively correlated with the absolute value of the difference; the importance of the seed point is determined, and the importance of the seed point satisfies: ; In the formula, represents the importance of the seed point of the nth superpixel block in the target image, represents the primary importance of the nth superpixel block in the target image, Represents the number of pixels in the nth superpixel block in the target image, Represents the adjacent image to the target image Frame image analysis, and Represents the grayscale value of the pixel at the corresponding position of the x-th pixel of the n-th superpixel block in the target image in the y-th frame image and the y+1-th frame image, Indicates the nth superpixel block in the target image The grayscale information entropy value of the mth frame in the frame, represents the variance function, M represents the total number of frames; the initial search range of the seed point is optimized according to the importance of the seed point to obtain the target search range of the seed point, and the side length of the target search range satisfies the following relationship: ; In the formula, represents the side length of the target search range of the seed point of the nth superpixel block in the target image, represents the importance of the seed point of the nth superpixel block in the target image, Indicates the side length of the initial search range of the seed point, represents the floor function; The current round of superpixel segmentation is performed according to the target search range of various sub-points, and the current round of superpixel segmentation also includes: determining the importance of each pixel point in the superpixel block according to the grayscale difference between the corresponding pixel points in the adjacent multi-frame images and the primary importance of the superpixel block; in response to the average importance of the pixel points in the superpixel block being greater than a preset optimization threshold, not performing the current round of superpixel segmentation on the superpixel block; in response to the average importance of the pixel points in the superpixel block being not greater than the preset optimization threshold, within the target search range of the seed point, when the similarity between a certain pixel point and the superpixel blocks to which multiple seed points belong is greater than a preset merging threshold, merging the pixel point with the superpixel block with the largest similarity, and the similarity satisfies the following relationship: ; In the formula, Represents the similarity between the i-th pixel point in the target search range of the seed point of the n-th superpixel block in the target image and the n-th superpixel block, represents the grayscale value of the i-th pixel in the target search range of the seed point of the n-th superpixel block in the target image, Represents the grayscale mean of the pixels in the nth superpixel block in the target image, Represents the Euclidean distance between the i-th pixel point in the target search range and the seed point of the n-th superpixel block in the target image.
2. The image compression method for drone aerial photography according to claim 1, characterized in that: The primary importance of the superpixel block satisfies the following relationship: ; In the formula, represents the primary importance of the nth superpixel block in the target image, represents the number of seed points other than the seed point of the nth superpixel block in the target image, Indicates the texture density of the nth superpixel block in the target image, Indicates the texture density of the u-th superpixel block outside the n-th superpixel block in the target image.
3. The image compression method for drone aerial photography according to claim 1, characterized in that: After achieving compression of the target image, it also includes: The grayscale mean values of the pixels in each superpixel block in the superpixel image of the target image are used to form a sequence, which is then compressed twice using a lossless compression algorithm.
4. An image compression device for drone aerial photography, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, an image compression method for drone aerial photography according to any one of claims 1 to 3 is implemented.
