A method and system for transmitting images using BeiDou short message service
Patent Information
- Application Number
- CN202311580435.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2043-11-24
AI Technical Summary
[0008]针对现有技术存在的缺陷和不足,本发明旨在解决现有的渐进式传输方式不能优先传输特定的、关键的目标物所在区域及附近的相关图像的缺陷
Smart Images

Figure CN117676701B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of BeiDou short message and image transmission technology, specifically relating to a method and system for transmitting images using BeiDou short messages. Background Technology
[0002] Short message communication (SRM) of the BeiDou system refers to the two-way information transmission between BeiDou ground terminals and BeiDou satellites and the BeiDou ground monitoring center via satellite signals. Communication uses short messages (similar to SMS messages) as the basic unit of transmission and is a functional feature inherent to the BeiDou satellite navigation system. Using BeiDou SRM service, text, voice, and images can be transmitted.
[0003] Currently, when using BeiDou short message service to transmit images, due to the limitations of BeiDou satellite communication transmission capabilities, images generally need to be compressed and transmitted in packets.
[0004] The basic principle of packetized progressive transmission is as follows: select the cropping ratio and compression rate to crop and compress the image; then divide the image into N data packets to be transmitted and send them to the receiving end via the Beidou-3 short message satellite; after receiving the data packets, the computer decompresses and stitches them together using a compression library to display the latest image effect; after receiving the data packets, the receiving end decompresses and stitches them together to display the complete image. The more data packets received, the clearer and more complete the image becomes.
[0005] The existing packetized progressive transmission method divides an image into N data packets and sends the data packets in a fixed order. As a result, the image obtained by decompression and splicing at the receiving end can only be displayed gradually in the order of transmission.
[0006] In some scenarios, such as natural disaster monitoring (e.g., landslides, slope disturbances, etc.), the images captured by the video terminal may contain certain key targets in a certain part. If the image packet data of the location of these targets can be transmitted first when transmitting image data, the receiving end can prioritize displaying the relevant images of the area where the target is located and its vicinity. This is essential for real-time monitoring of natural disasters and ensuring the timeliness of emergency rescue.
[0007] Clearly, the existing packet-based progressive transmission method cannot prioritize the transmission of images of specific, critical target areas and their vicinity, and needs improvement and optimization. Summary of the Invention
[0008] To address the shortcomings and deficiencies of existing technologies, this invention aims to solve the problem that current progressive transmission methods cannot prioritize the transmission of images of specific, critical target areas and their vicinity. Therefore, it provides a method and system for transmitting images using BeiDou short message service to identify target objects in the original image and extract images of the rectangular regions where the target objects are located. If the data volume of the target rectangular region image is less than a threshold, the image data of the target region is packetized and sent together with image data of non-target regions. If the image data volume of the target rectangular region is greater than the threshold, the target rectangular region is divided into multiple grid cells, and the image data of each grid cell is packetized and sent in batches with priority. This enables automatic identification of target objects and priority transmission of image data of specific, critical target areas and their vicinity, allowing the receiving terminal to promptly receive and reconstruct images of the target area and its vicinity, thus improving the timeliness of natural disaster monitoring and emergency response.
[0009] The present invention specifically adopts the following technical solution: A method for transmitting images using BeiDou short message service, characterized by the following steps: S1. Set the target object for which key image information needs to be transmitted, and determine the characteristics of the target object; S2. After acquiring the original image, the sending terminal extracts and identifies the features of the target objects in the original image, and determines the type of the target object and extracts the edge contour of the target object based on the feature recognition results. S3. Delineate a rectangular region in the original image based on the edge contour of the target object as the target rectangular region, and segment the target rectangular region from the original image to obtain the target rectangular image. S4. Obtain the data volume of the target rectangular region image: If the data volume is less than the preset threshold, several block images are sequentially segmented from the non-target area. At the same time, the data volume of these block images is calculated as the sum of the data volume of the target rectangular area image. When the sum of the data volume reaches the threshold, the data of the target rectangular area image and the data of all the segmented block images are grouped together to obtain the first data packet. Then, other block images are segmented from the non-target area and packaged into subsequent data packets. If the data volume of the target rectangular region image is greater than the threshold, the target rectangular region is divided into a grid array to obtain multiple grid units. Each time, several groups of grid units are divided and the image data of the divided grid units are packaged into several data packets. After the image data of the target rectangular region is transmitted, the image of the non-target region is segmented and data packets are grouped. S5. Each data packet is compressed sequentially and transmitted to the BeiDou system via short message. The BeiDou system then sends the data packets to the receiving terminal via short message.
[0010] Furthermore, in step S4, when segmenting non-target areas, first divide the rectangular areas adjacent to the target rectangular area as outer rectangular areas along the perimeter of the target rectangular area; then segment the block image from each outer rectangular area.
[0011] Furthermore, when segmenting image blocks from each outer rectangular region, the area ratio S of each outer rectangular region to the target rectangular region is first calculated, and the distance L between the center point of each outer rectangular region and the center point of the target rectangular region is calculated. The calculation formula D = a × S + b × L is defined, where a and b are preset weight coefficients, and D represents the selected proportion. After calculating the D value of all outer rectangular regions, the image data volume of each outer rectangular region segmented is determined according to the D value of each outer rectangular region. The larger the D value, the larger the image data volume.
[0012] Furthermore, for continuous images in the same field of view, the similarity changes of each grid cell distributed along each side of the target rectangular region in the continuous image are compared. If the similarity of a grid cell changes by more than a preset degree, the D value of the outer rectangular region corresponding to the side where the grid cell is located is corrected. The corrected value D'=k×D, where k is the correction coefficient and the value of k corresponds to the magnitude of the similarity change of the grid cell.
[0013] And, a system for transmitting images using BeiDou short message service, comprising an image transmitting terminal, a BeiDou system, and an image receiving terminal: The image transmitting terminal includes an image acquisition unit, a data storage unit, an image recognition unit, an image segmentation unit, a calculation unit, a data processing unit, and a data transmitting unit. The image acquisition unit is used to acquire the original image; The data storage unit is used to store the original image data; The image recognition unit is used to extract and recognize the features of the target object in the original image, and to determine the type of the target object and extract the edge contour of the target object based on the feature recognition results; The image segmentation unit is used to delineate a rectangular region in the original image as the target rectangular region based on the edge contour of the target object, and to segment the target rectangular region from the original image to obtain the target rectangular image. The calculation unit is used to calculate the data volume of the target rectangular region image. If the data volume is less than a preset threshold, the image segmentation unit sequentially segments several block images from the non-target region. At the same time, the calculation unit calculates the sum of the data volume of these block images and the data volume of the target rectangular region image. When the sum of the data volume reaches the threshold, the data processing unit packages the data of the target rectangular region image and the data of all the segmented block images into a first data packet. Subsequently, the image segmentation unit segments other block images from the non-target region and the data processing unit packages them into subsequent data packets. If the data volume of the target rectangular region image is greater than the threshold, the target rectangular region is divided into a grid array to obtain multiple grid cells. The image segmentation unit segments several groups of grid cells each time, and the data processing unit packages the image data of the segmented grid cells into several data packets. After the image data of the target rectangular region is transmitted, the images of the non-target region are segmented into blocks and packaged into data packets. The data sending unit sequentially compresses each data packet and transmits it to the BeiDou system via short messages. The BeiDou system then sends the data packets to the receiving terminal via short messages. The receiving terminal restores the data and stitches together the images to present them.
[0014] Furthermore, when the computing unit performs block segmentation on non-target areas, it first divides each adjacent rectangular area around the perimeter of the target rectangular area as an outer rectangular area; then the image segmentation unit segments block images from each outer rectangular area.
[0015] Furthermore, when the calculation unit segments the image blocks from each of the outer rectangular regions, it first calculates the area ratio S of each outer rectangular region to the target rectangular region, and calculates the distance L between the center point of each outer rectangular region and the center point of the target rectangular region. The calculation unit has a built-in calculation formula D=a×S+b×L, where a and b are preset weight coefficients, and D represents the selected proportion. After the calculation unit calculates the D value of all outer rectangular regions, it determines the amount of image data for each segmented block based on the D value of each outer rectangular region. The larger the D value, the larger the amount of image data.
[0016] Furthermore, it also includes a correction unit, which calls the calculation unit to compare the similarity changes of each grid cell distributed along each side of the target rectangular region in the two consecutive images of the same field of view. If the similarity of a grid cell changes by more than a preset degree, the correction unit corrects the D value of the outer rectangular region corresponding to the side where the grid cell is located. The corrected value D'=k×D, where k is the correction coefficient and the value of k corresponds to the similarity change of the grid cell.
[0017] Compared to related technologies, this invention and its preferred embodiment can identify target objects in the original image and extract the image of the rectangular area where the target object is located. If the data volume of the target rectangular area image is less than a threshold, the image data of the target area is packetized and sent together with the image data of the non-target area. If the image data volume of the target rectangular area is greater than the threshold, the target rectangular area is divided into multiple grid units and the image data of each grid unit is packetized and sent in batches. This can achieve automatic identification of target objects and priority transmission of image data of the specific and key target object area and its vicinity. This allows the receiving terminal to receive and restore the image of the target object area and its vicinity in a timely manner, which helps to improve the timeliness of natural disaster monitoring and emergency rescue. Attached Figure Description
[0018] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments: The accompanying drawings, which form part of this application, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings: Figure 1 This is a schematic diagram of image segmentation in Embodiment 1 of the present invention; Figure 2 and Figure 3 This is a schematic diagram of image processing in Embodiment 1 of the present invention; Figure 4 This is a schematic diagram of the system in Embodiment 2 of the present invention. The following detailed description, in conjunction with the above-described drawings, will further illustrate the present invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this application clearer, the application is described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.
[0020] Obviously, the accompanying drawings described below are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar scenarios based on these drawings without any inventive effort. Furthermore, it is understood that although the efforts made in this development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, any changes to design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as insufficient disclosure of the content of this application.
[0021] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0022] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms “a,” “an,” “an,” “the,” and similar words used in this application do not indicate quantity limitation and may indicate singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units not listed, or may include other steps or units inherent to these processes, methods, products, or devices. The terms “connected,” “linked,” “coupled,” and similar words used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Multiple” used in this application refers to two or more. “And / or” describes the relationship between related objects, indicating that three relationships may exist; for example, “A and / or B” can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following objects are in an "or" relationship. The terms "first," "second," and "third" used in this application are merely to distinguish similar objects and do not represent a specific ordering of the objects.
[0023] Example 1: Reference Figure 1 , Figure 2 and Figure 3 This embodiment provides a method for transmitting images using BeiDou short message service, including the following steps: S1. Set the target object for which key image information needs to be transmitted, and determine the characteristics of the target object; S2. After acquiring the original image, the sending terminal extracts and identifies the features of the target objects in the original image, and determines the type of the target object and extracts the edge contour of the target object based on the feature recognition results. Taking water surface as an example: When monitoring floods, drones can be used to take pictures at fixed points to obtain the original image of the scene. The features in the original image can be used to identify whether there are water surface features. If they are, it means that a flood has occurred. The flood area can be determined by the water surface features. Then, by performing grayscale processing on the original image, the cleaned outline of the flood area can be obtained.
[0024] S3. Delineate a rectangular region in the original image based on the edge contour of the target object, i.e., the target rectangular region (e.g., ...). Figure 1 (Region A in the original image) The target rectangular region is segmented from the original image to obtain the target rectangular image; It should be noted that: to divide the target rectangular area, first obtain the four points on the outline of the target object (i.e. the edge outline of the flood area) that are the highest, lowest, leftmost and rightmost. Then draw two horizontal lines passing through the highest and lowest points respectively, and draw two vertical lines passing through the leftmost and rightmost points respectively. The area enclosed by the four lines is the target rectangular area.
[0025] S4. Obtain the data volume of the target rectangular region image. If the data volume is less than a preset threshold (this threshold can be defined by the BeiDou system's communication transmission capability), then several block images are sequentially segmented from the non-target region. Simultaneously, the sum of the data volume of these block images and the data volume of the target rectangular region image is calculated. When the sum reaches the threshold, the data of the target rectangular region image and the data of all the segmented block images are grouped together to obtain the first data packet. Subsequently, other block images are segmented from the non-target region, and the data of these block images are grouped together to obtain the second data packet, the third data packet, and so on. Except for the last data packet, the sizes of the other data packets are basically the same. If the data volume of the target rectangular region image is greater than the threshold, then the target rectangular region is divided into a grid array to obtain multiple grid cells (e.g., ...). Figure 2 (As shown by the dashed grid cells in the middle), each time several groups of grid cells are divided and the image data of the divided grid cells are packaged into the first data packet, the second data packet, the third data packet, and so on. After the image data of the target rectangular area is transmitted, the image of the non-target area is segmented into blocks and packaged into data packets. S5. Each data packet is compressed sequentially and transmitted to the BeiDou system via short message. The BeiDou system then sends the data packets to the receiving terminal via short message.
[0026] like Figure 2 As shown, in this embodiment, when segmenting non-target areas, the adjacent rectangular areas (i.e., the outer rectangular areas) are first divided around the perimeter of the target rectangular area A. Figure 2(The image is divided into W1-W8 regions). Then, block images are segmented from each of the outer rectangular regions. Block segmentation within the outer rectangular regions can be done row by row or column by column.
[0027] Considering the different sizes of the various peripheral regions, and for the purpose of uniformly selecting blocks, the size relationship of the various peripheral rectangular regions is taken into account when dividing the peripheral regions into blocks. In addition, considering that the shape of the target object is usually continuous, the probability of the same target object features appearing in the peripheral rectangular regions that are closer to the target rectangular region is also higher. For these peripheral rectangular regions, the amount of block data in each segment can be appropriately increased, which is beneficial to discovering other small target objects in the peripheral rectangular regions.
[0028] Taking both factors into consideration, in this embodiment, when segmenting image blocks from each outer rectangular region, the area ratio S of each outer rectangular region to the target rectangular region is first calculated, and the center point of each outer rectangular region (in order) is calculated. Figure 2 The distance L between O1-O8 in the target rectangular region and the center point O of the target rectangular region is defined as: D = a × S + b × L, where a and b are preset weight coefficients and D represents the selected proportion; after calculating the D value of all outer rectangular regions, the amount of image data for each outer rectangular region segmentation block is determined according to the D value of each outer rectangular region. The larger the D value, the larger the amount of image data.
[0029] Considering that the edges of the target object may change over time, for continuous images of the same field of view, the similarity of each grid cell (i.e., grid cells A1-A12) distributed along each side of the target rectangular region in the continuous images is compared. If the similarity of a grid cell changes significantly, the D value of the outer rectangular region corresponding to the side of that grid cell is corrected. The corrected value D'=k×D, where k is the correction coefficient, and the value of k corresponds to the magnitude of the similarity change of the aforementioned grid cells.
[0030] For example, such as Figure 3 As shown, calculations and comparisons revealed that the similarity difference before and after region A2 exceeded a preset value, indicating a significant change in the edge of the target object in region A2. This suggests the target object may be expanding outwards. Since the edge corresponding to A2 is the top edge, and the region corresponding to the top edge is region W2, the target object is most likely expanding towards region W2. To help detect the spread of the target object promptly, more image data should be extracted from region W2 during subsequent block image segmentation. In this embodiment, the D value of region W2 is corrected, with a correction value k greater than 1. This embodiment pre-defines the correspondence between k and the similarity difference; once the similarity difference is calculated, the corresponding k value can be directly retrieved.
[0031] Example 2: Reference Figure 4 Based on the method design in Embodiment 1, this embodiment further provides a system for transmitting images using BeiDou short messages, including an image transmitting terminal, a BeiDou system, and an image receiving terminal. The image transmitting terminal includes an image acquisition unit, a data storage unit, an image recognition unit, an image segmentation unit, a calculation unit, a data processing unit, and a data transmission unit. The image acquisition unit is used to acquire the original image, the data storage unit is used to store the original image data, and the image recognition unit is used to extract and recognize the features of the target objects in the original image, and determine the type of the target object and extract the edge contour of the target object based on the feature recognition results. The image segmentation unit is used to delineate a rectangular region, i.e., the target rectangular region, in the original image based on the edge contour of the target object, and segment the target rectangular region from the original image to obtain the target rectangular image. The calculation unit is used to calculate the data volume of the target rectangular region image. If the data volume is less than a preset threshold, the image segmentation unit sequentially segments several block images from the non-target region, and the calculation unit calculates the data volume of these block images. The data processing unit combines the data of the target rectangular region image with the data of all segmented image blocks to form the first data packet when the sum reaches a threshold. Subsequently, the image segmentation unit segments other image blocks from the non-target region, and the data processing unit packages the data of these image blocks to form the second, third, and so on. If the data volume of the target rectangular region image exceeds the threshold, the target rectangular region is divided into a grid array to obtain multiple grid cells. The image segmentation unit segments several groups of grid cells each time, and the data processing unit packages the image data of the segmented grid cells to form the first, second, and third data packets, and so on. After the image data of the target rectangular region is transmitted, the non-target region image is segmented and packaged into data packets. The data sending unit compresses each data packet sequentially and transmits it to the BeiDou system via short messages. The BeiDou system then sends the data packets to the receiving terminal via short messages, and the receiving terminal restores the data and stitches together the images to present the image.
[0032] When the computing unit performs block segmentation on non-target areas, it first divides the target rectangular area into adjacent rectangular areas, i.e., the outer rectangular areas, along the perimeter of the target rectangular area; then the image segmentation unit segments the block image from each outer rectangular area.
[0033] When segmenting image blocks from each outer rectangular region, the calculation unit first calculates the area ratio S of each outer rectangular region to the target rectangular region, and calculates the distance L between the center point of each outer rectangular region and the center point of the target rectangular region. The calculation unit has a built-in calculation formula D=a×S+b×L, where a and b are preset weight coefficients, and D represents the selected proportion. After the calculation unit calculates the D value of all outer rectangular regions, it determines the amount of image data for segmenting each outer rectangular region based on the D value of each outer rectangular region. The larger the D value, the larger the amount of image data.
[0034] The system also includes a correction unit. For continuous images in the same field of view, the calculation unit compares the similarity changes of each grid cell distributed along each side of the target rectangular region in the continuous image. If the similarity of a grid cell changes significantly before and after, the correction unit corrects the D value of the outer rectangular region corresponding to the side where the grid cell is located. The corrected value D'=k×D, where k is the correction coefficient and the value of k corresponds to the similarity change rate of the aforementioned grid cells.
[0035] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0036] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0037] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1The function specified in one or more boxes.
[0038] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0039] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0040] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
[0041] This patent is not limited to the above-described preferred embodiment. Anyone can derive other methods and systems for transmitting images using BeiDou short messages based on the inspiration of this patent. All equivalent changes and modifications made within the scope of this patent application shall fall within the scope of this patent.
Claims
1. A method for transmitting images using BeiDou short message service, characterized in that, Includes the following steps: S1. Set the target object for which key image information needs to be transmitted, and determine the characteristics of the target object; S2. After acquiring the original image, the sending terminal extracts and identifies the features of the target objects in the original image, and determines the type of the target object and extracts the edge contour of the target object based on the feature recognition results. S3. Delineate a rectangular region in the original image based on the edge contour of the target object as the target rectangular region, and segment the target rectangular region from the original image to obtain the target rectangular image. S4. Obtain the data volume of the target rectangular region image: If the data volume is less than the preset threshold, several block images are sequentially segmented from the non-target area. At the same time, the data volume of these block images is calculated as the sum of the data volume of the target rectangular area image. When the sum of the data volume reaches the threshold, the data of the target rectangular area image and the data of all the segmented block images are grouped together to obtain the first data packet. Then, other block images are segmented from the non-target area and packaged into subsequent data packets. If the data volume of the target rectangular region image is greater than the threshold, the target rectangular region is divided into a grid array to obtain multiple grid units. Each time, several groups of grid units are divided and the image data of the divided grid units are packaged into several data packets. After the image data of the target rectangular region is transmitted, the image of the non-target region is segmented and data packets are grouped. S5. Each data packet is compressed sequentially and transmitted to the BeiDou system via short message. Then, the BeiDou system sends the data packets to the receiving terminal via short message. In step S4, when segmenting non-target regions into blocks, first divide the target rectangular region into adjacent rectangular regions along its perimeter as outer rectangular regions; then segment block images from each outer rectangular region. When segmenting image blocks from each outer rectangular region, first calculate the area ratio S between each outer rectangular region and the target rectangular region, and calculate the distance L between the center point of each outer rectangular region and the center point of the target rectangular region; define the calculation formula D=a×S+b×L, where a and b are preset weight coefficients, and D represents the selected weight; after calculating the D value of all outer rectangular regions, determine the image data volume of each segmented block based on the D value of each outer rectangular region, the larger the D value, the larger the image data volume; For continuous images in the same field of view, compare the similarity changes of each grid cell distributed along each side of the target rectangular region in the continuous image. If the similarity of a grid cell changes by more than a preset degree, then the D value of the outer rectangular region corresponding to the side where the grid cell is located is corrected. The corrected value D'=k×D, where k is the correction coefficient and the value of k corresponds to the magnitude of the similarity change of the grid cell.
2. A system for transmitting images using BeiDou short message service, comprising an image transmitting terminal, a BeiDou system, and an image receiving terminal, characterized in that: The image transmitting terminal includes an image acquisition unit, a data storage unit, an image recognition unit, an image segmentation unit, a calculation unit, a data processing unit, and a data transmitting unit. The image acquisition unit is used to acquire the original image; The data storage unit is used to store the original image data; The image recognition unit is used to extract and recognize the features of the target object in the original image, and to determine the type of the target object and extract the edge contour of the target object based on the feature recognition results; The image segmentation unit is used to delineate a rectangular region in the original image as the target rectangular region based on the edge contour of the target object, and to segment the target rectangular region from the original image to obtain the target rectangular image. The calculation unit is used to calculate the data volume of the target rectangular region image. If the data volume is less than a preset threshold, the image segmentation unit sequentially segments several block images from the non-target region. At the same time, the calculation unit calculates the sum of the data volume of these block images and the data volume of the target rectangular region image. When the sum of the data volume reaches the threshold, the data processing unit packages the data of the target rectangular region image and the data of all the segmented block images into a first data packet. Subsequently, the image segmentation unit segments other block images from the non-target region and the data processing unit packages them into subsequent data packets. If the data volume of the target rectangular region image is greater than the threshold, the target rectangular region is divided into a grid array to obtain multiple grid cells. The image segmentation unit segments several groups of grid cells each time, and the data processing unit packages the image data of the segmented grid cells into several data packets. After the image data of the target rectangular region is transmitted, the images of the non-target region are segmented into blocks and packaged into data packets. The data sending unit sequentially compresses each data packet and transmits it to the BeiDou system via short messages. The BeiDou system then sends the data packets to the receiving terminal via short messages. The receiving terminal restores the data and stitches together the images to present them. When the computing unit divides the non-target area into blocks, it first divides each adjacent rectangular area around the perimeter of the target rectangular area as the outer rectangular area. The image segmentation unit then segments the image into blocks from each of the outer rectangular regions; When the calculation unit segments the image blocks from each outer rectangular region, it first calculates the area ratio S of each outer rectangular region to the target rectangular region, and calculates the distance L between the center point of each outer rectangular region and the center point of the target rectangular region. The calculation unit has a built-in calculation formula D=a×S+b×L, where a and b are preset weight coefficients, and D represents the selected proportion. After the computing unit calculates the D value of all the outer rectangular regions, it determines the amount of image data to be divided into blocks for each outer rectangular region based on the D value of each outer rectangular region. The larger the D value, the larger the amount of image data. It also includes a correction unit, which calls the calculation unit to compare the similarity changes of each grid cell distributed along each side of the target rectangular region in the two consecutive images of the same field of view. If the similarity of a grid cell changes by more than a preset degree, the correction unit corrects the D value of the outer rectangular region corresponding to the side of that grid cell. The corrected value D'=k×D, where k is the correction coefficient and the value of k corresponds to the similarity change of the grid cell.
Citation Information
Patent Citations
Message communication method and device, equipment and storage medium
CN116095020A