A remote sensing image comparison method, device, equipment and storage medium
The overlapping areas of remote sensing images are determined through layer rolling display and slider operation, and converted into pixel images for comparison. This solves the problem of difficulty in visually displaying differences in remote sensing images in the existing technology and achieves a more accurate understanding of image differences.
Patent Information
- Application Number
- CN202311132612.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-09-04
AI Technical Summary
The display method of remote sensing images in the prior art is difficult to intuitively display the difference in changes between the images, and users lack intuitive understanding when viewing changes in the two remote sensing images.
The remote sensing images are displayed using a layer rolling shutter method, and the overlapping areas of the images are determined through slider operations, converted into pixel images for comparison, and the pixel differences are calculated to obtain the comparison results.
It realizes the intuitive display of remote sensing images, enables users to understand the differences between images more clearly, and improves the accuracy of comparison results.
Smart Images

Figure CN117115479B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of satellite remote sensing technology, and in particular to a remote sensing image comparison method, device, equipment and storage medium. Background Art
[0002] Remote sensing has obvious advantages in many aspects such as surface resource and environment monitoring, crop yield estimation, disaster monitoring, global change, etc. It is developing rapidly. More ideal platforms, more advanced sensors and image processing technologies are constantly developing to promote remote sensing to play a greater role in a wider range of fields. Remote sensing detection can periodically and repeatedly observe the earth in the same area, which helps people discover and dynamically track the changes of many things on the earth through the remote sensing data obtained. At the same time, it studies the laws of change in nature. Especially in monitoring weather conditions, natural disasters, environmental pollution, and even military targets.
[0003] In the prior art, remote sensing images are often displayed by simply listing them in different time periods, which has some shortcomings in terms of user experience. In this way, when a user wants to view the difference between the changes in remote sensing images at two time points, simply listing the two images will not allow the user to intuitively understand the difference between the images. Summary of the invention
[0004] The present invention provides a remote sensing image comparison method, device, equipment and storage medium to realize intuitive display of remote sensing image comparison results.
[0005] According to one aspect of the present invention, a remote sensing image comparison method is provided, comprising:
[0006] Determining at least two remote sensing images to be compared, and displaying the at least two remote sensing images to be compared in a layer rolling curtain manner;
[0007] In response to a sliding operation of a slider in a layer rolling shutter, determining an overlapping area of the at least two remote sensing images to be compared;
[0008] Comparison is performed based on the overlapping areas of the at least two remote sensing images to be compared, and the comparison result is used as the comparison result of the remote sensing images.
[0009] Further, at least two remote sensing images to be compared are determined, including:
[0010] Obtaining a remote sensing image list including at least two candidate remote sensing images;
[0011] In response to a selection operation on the remote sensing image list, a candidate remote sensing image corresponding to the selection operation is determined as the remote sensing image to be compared.
[0012] Furthermore, the at least two remote sensing images to be compared are displayed in a layer rolling shutter manner, including:
[0013] The remote sensing images to be compared are displayed on different layers respectively, and the layer rolling screen includes an origin layer and at least one comparison layer, wherein the origin layer is placed at the bottom layer and the comparison layer is placed above the origin layer.
[0014] Furthermore, the slider in the layer rolling screen is used to control the display area of the comparison layer, and determine the overlapping area of the at least two remote sensing images to be compared, including:
[0015] Obtaining a slider position in the layer rolling screen, and determining a display area of the contrast layer according to the slider position;
[0016] The display area of the comparison layer is used as the overlapping area of the at least two remote sensing images to be compared, and the overlapping area is saved in a dictionary manner.
[0017] Furthermore, comparing the overlapping areas of the at least two remote sensing images to be compared includes:
[0018] Converting the overlapping area of the at least two remote sensing images to be compared into a pixel image;
[0019] The pixel differences between the pixel images are compared to obtain a comparison result.
[0020] Further, comparing the pixel differences between the pixel images to obtain a comparison result includes:
[0021] Determine a first number of target pixel blocks in each of the pixel images according to the target image to be compared in the overlapping area;
[0022] A second number of pixel blocks that are different between the target pixel blocks corresponding to the pixel images is determined, and a ratio of the second number to the first number is used as the comparison result.
[0023] Furthermore, before obtaining the remote sensing image list including at least two candidate remote sensing images, the method further includes:
[0024] The at least two candidate remote sensing images are acquired to generate a selectable remote sensing image list.
[0025] According to another aspect of the present invention, there is provided a remote sensing image comparison device, comprising:
[0026] A remote sensing image display module, used for determining at least two remote sensing images to be compared, and displaying the at least two remote sensing images to be compared in a layer rolling curtain manner;
[0027] An overlapping region determination module, configured to determine an overlapping region of the at least two remote sensing images to be compared in response to a sliding operation of a slider in a layer rolling screen;
[0028] The image comparison module is used to compare the overlapping areas of the at least two remote sensing images to be compared, and use the comparison result as the comparison result of the remote sensing images.
[0029] Optionally, the remote sensing image display module is also used to:
[0030] Obtaining a remote sensing image list including at least two candidate remote sensing images;
[0031] In response to a selection operation on the remote sensing image list, a candidate remote sensing image corresponding to the selection operation is determined as the remote sensing image to be compared.
[0032] Optionally, the remote sensing image display module is also used to:
[0033] The remote sensing images to be compared are displayed on different layers respectively, and the layer rolling screen includes an origin layer and at least one comparison layer, wherein the origin layer is placed at the bottom layer and the comparison layer is placed above the origin layer.
[0034] Optionally, the slider in the layer rolling screen is used to control the display area of the contrast layer, and the overlapping area determination module is further used to:
[0035] Obtaining a slider position in the layer rolling screen, and determining a display area of the contrast layer according to the slider position;
[0036] The display area of the comparison layer is used as the overlapping area of the at least two remote sensing images to be compared, and the overlapping area is saved in a dictionary manner.
[0037] Optionally, the image comparison module is also used to:
[0038] Converting the overlapping area of the at least two remote sensing images to be compared into a pixel image;
[0039] The pixel differences between the pixel images are compared to obtain a comparison result.
[0040] Optionally, the image comparison module is also used to:
[0041] Determine a first number of target pixel blocks in each of the pixel images according to the target image to be compared in the overlapping area;
[0042] A second number of pixel blocks that are different between the target pixel blocks corresponding to the pixel images is determined, and a ratio of the second number to the first number is used as the comparison result.
[0043] Optionally, the device further comprises a remote sensing image list generating module, which is used to obtain the at least two candidate remote sensing images and generate a selectable remote sensing image list.
[0044] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0045] at least one processor; and
[0046] a memory communicatively connected to the at least one processor; wherein,
[0047] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the remote sensing image comparison method described in any embodiment of the present invention.
[0048] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the remote sensing image comparison method described in any embodiment of the present invention when executed by a processor.
[0049] The remote sensing image comparison method disclosed in the present invention first determines at least two remote sensing images to be compared, and displays the at least two remote sensing images to be compared in a layer rolling curtain manner; then, in response to the sliding operation of a slider in the layer rolling curtain, determines the overlapping area of the at least two remote sensing images to be compared; finally, compares the overlapping area of the at least two remote sensing images to be compared, and uses the comparison result as the comparison result of the remote sensing images. The remote sensing image comparison method disclosed in the present invention provides a user with an intuitive display method for multiple remote sensing images, so that the user can more clearly understand the differences between the images.
[0050] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0052] Figure 1 is a flow chart of a remote sensing image comparison method provided according to the first embodiment of the present invention;
[0053] Figure 2is a schematic diagram of a layer rolling blind provided according to the first embodiment of the present invention;
[0054] Figure 3 is a flow chart of a remote sensing image comparison method provided according to Embodiment 2 of the present invention;
[0055] Figure 4 A schematic diagram of the structure of a remote sensing image comparison device provided according to Embodiment 3 of the present invention;
[0056] Figure 5 It is a structural schematic diagram of an electronic device for implementing the remote sensing image comparison method of the fourth embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.
[0058] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0059] Embodiment 1
[0060] Figure 1 This is a flowchart of a remote sensing image comparison method provided in the first embodiment of the present invention. This embodiment is applicable to the case where remote sensing images are provided to users for viewing. The method can be executed by a remote sensing image comparison device, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device. Figure 1 As shown, the method includes:
[0061] S110, determining at least two remote sensing images to be compared, and displaying the at least two remote sensing images to be compared in a layer rolling shutter manner.
[0062] Among them, the remote sensing image can be an image of the earth's surface taken by a satellite and pasted on a map according to the actual longitude and latitude, and the remote sensing images to be compared can be two or more remote sensing images selected by the user to be compared.
[0063] In this embodiment, the remote sensing images to be compared can be determined by the user according to his or her own needs. For example, if the user wants to know the changes in vegetation coverage in a certain area over a year, the user can select the surface plant remote sensing images of the area at the current time and one year ago as the remote sensing images to be compared.
[0064] Furthermore, layer rolling is a method of displaying an image by switching a portion of one or more layers on the map to be hidden. It is possible to hide certain layer contents on the map, just like there are several paintings stacked on a table. If you need to take a closer look at the bottom one, you need to roll up the others.
[0065] Preferably, the remote sensing images to be compared can be placed in different layers respectively, and the user can operate the slider in the layer scrolling screen with the mouse, and the slider can control the expansion and collapse of the upper layer. Figure 2 This is a schematic diagram of a layer rolling screen provided by an embodiment of the present invention. As shown in the figure, the left and right sides of the slider display layer 1 and layer 2 respectively, wherein layer 1 is located at the bottom layer and layer 2 is located at the upper layer. When the slider is dragged to the far right, layer 2 is completely retracted, and only layer 1 is displayed on the screen; when the slider is dragged to the far left, layer 2 is completely expanded, and the two layers overlap, and only layer 2 is displayed on the screen.
[0066] S120 , in response to a sliding operation of a slider in a layer rolling shutter, determining an overlapping area of at least two remote sensing images to be compared.
[0067] The overlapping area is the area where different layers in the layer rolling screen overlap, and the size of the overlapping area is related to the expanded area of the upper layer image.
[0068] In this embodiment, the user can control the sliding of the slider in the layer roller shutter, and then control the expansion area of the layer. The computer can determine the position of the slider according to the sliding operation of the slider, and determine the overlapping area of each remote sensing image to be compared according to the expansion size of the upper layer.
[0069] Preferably, when there are more than two remote sensing images to be compared, the number of sliders controlling the expansion of the layers can also be multiple. For example, if there are three remote sensing images to be compared, one of them can be the bottom layer image, and the other two can be placed in the second and third layers respectively, and a slider can be set for each of the second and third layers to control the expansion and collapse of the corresponding layers.
[0070] S130: performing comparison according to overlapping areas of at least two remote sensing images to be compared, and using the comparison result as the comparison result of the remote sensing images.
[0071] In this embodiment, the overlapping area in each remote sensing image to be compared is the area that needs to be compared. After determining the overlapping area of at least two remote sensing images to be compared, it is only necessary to extract the overlapping area in each remote sensing image to be compared and compare the differences in the overlapping areas of two or more images.
[0072] The remote sensing image comparison method disclosed in the present invention first determines at least two remote sensing images to be compared, and displays the at least two remote sensing images to be compared in a layer rolling curtain manner; then, in response to the sliding operation of a slider in the layer rolling curtain, determines the overlapping area of the at least two remote sensing images to be compared; finally, compares the overlapping area of the at least two remote sensing images to be compared, and uses the comparison result as the comparison result of the remote sensing images. The remote sensing image comparison method disclosed in the present invention provides a user with an intuitive display method for multiple remote sensing images through a layer rolling curtain, so that the user can more clearly understand the differences between the images.
[0073] Embodiment 2
[0074] Figure 3 This is a flow chart of a remote sensing image comparison method provided in the second embodiment of the present invention. This embodiment is a feature refinement and addition of the above embodiment. Figure 3 As shown, the method includes:
[0075] S210: Acquire a remote sensing image list including at least two candidate remote sensing images, and in response to a selection operation on the remote sensing image list, determine the candidate remote sensing image corresponding to the selection operation as the remote sensing image to be compared.
[0076] Among them, the alternative remote sensing images are remote sensing images for users to select, and are displayed in a list in the remote sensing image list. Users can select the required remote sensing images from the list. In response to the selection operation on the remote sensing image list, the computer can use the alternative remote sensing image selected by the user as the remote sensing image to be compared.
[0077] Furthermore, before obtaining the remote sensing image list including at least two candidate remote sensing images, it is also possible to: obtain at least two candidate remote sensing images to generate a selectable remote sensing image list.
[0078] Preferably, all candidate remote sensing images may be collected in advance, and each candidate remote sensing image may be filled into a blank remote sensing image list for easy viewing and selection by the user.
[0079] S220, displaying the remote sensing images to be compared on different layers respectively, wherein the layer rolling screen includes an origin layer and at least one comparison layer, wherein the origin layer is placed at the bottom layer, and the comparison layer is placed at the upper layer of the origin layer.
[0080] In this embodiment, when displaying the remote sensing images to be compared through the layer rolling curtain, one of the remote sensing images to be compared can be determined as the origin layer and placed on the bottom layer, and the remaining remote sensing images to be compared can be determined as the comparison layers and placed above the bottom layer.
[0081] For example, if there are two remote sensing images to be compared, one of them is used as the origin layer, and the other is the comparison layer; if there are three remote sensing images to be compared, one of them is used as the origin layer, and the other two are comparison layers.
[0082] Preferably, the origin layer can be specified by the user. When the user does not specify it, the first selected remote sensing image can be used as the origin layer according to the selection order of the user when selecting the remote sensing images to be compared.
[0083] S230. In response to a sliding operation of a slider in the layer rolling shutter, obtain a position of the slider in the layer rolling shutter, and determine a display area of the comparison layer according to the position of the slider.
[0084] Among them, the slider in the layer roller shutter is used to control the display area of the contrast layer.
[0085] In this embodiment, the user can control the sliding of the slider in the layer rolling shutter, and then control the expansion area of the layer. The computer can determine the position of the slider according to the sliding operation of the slider, and then determine the display area of the comparison layer.
[0086] Preferably, WebGL (Web Graphics Library) is a 3D drawing protocol. In a WebGL tile layer, the prerender and postrender events can be used to respectively identify the click and release operations of the mouse, and then the gl.scissor() method is used to calculate the overlapping area according to the input slider position.
[0087] S240: Using the display area of the comparison layer as the overlapping area of at least two remote sensing images to be compared, and saving the overlapping area in a dictionary manner.
[0088] A dictionary is a data storage method, which is essentially a collection of elements. Each element has a field called key, and the keys of different elements are different. The operations related to dictionaries include: inserting an element with a given key value, searching for an element with a given key value in the dictionary, and deleting an element with a given key value.
[0089] In this embodiment, after the overlapping area of each remote sensing image to be compared is determined according to the size of the upper layer expansion, the remote sensing images in the overlapping area can be saved in a dictionary, which can facilitate subsequent search.
[0090] S250, converting the overlapping areas of at least two remote sensing images to be compared into pixel images, comparing the pixel differences between the pixel images, obtaining a comparison result, and using the comparison result as the comparison result of the remote sensing images.
[0091] Pixels are small squares in an image. These small squares have a clear position and assigned color values. The color and position of the small squares determine how the image appears. A pixel image can be an image composed of pixel blocks.
[0092] In this embodiment, in order to compare the differences between the overlapping areas of the remote sensing images to be compared, a pixel matching method can be used to convert the original remote sensing images of the overlapping areas into pixel images of the RGB color standard, and the comparison of the remote sensing images is achieved by comparing the differences between each pixel block.
[0093] Optionally, a method for comparing pixel differences between pixel images to obtain a comparison result may be: determining a first number of target pixel blocks in each pixel image based on the target image to be compared in the overlapping area; determining a second number of pixel blocks that are different between the target pixel blocks corresponding to each pixel image, and taking the ratio of the second number to the first number as the comparison result.
[0094] Specifically, the target image is the image corresponding to the shooting target of the remote sensing image in the overlapping area, and the target pixel block is the pixel block obtained after the target image is converted into a pixel image. For example, when the satellite shoots remote sensing images, the vegetation coverage of the shooting site is used as the target, and the target image can be the vegetation image appearing in the overlapping area. When comparing the pixel differences between the pixel images, the target pixel blocks can be extracted and the number can be determined, and then the target pixel blocks in each pixel image are compared, and then the pixel blocks with differences can be extracted and the number can be determined, and the ratio of the two numbers is the comparison result. In the above example, the ratio obtained is the vegetation change rate in the overlapping area of the two remote sensing images to be compared.
[0095] The remote sensing image comparison method disclosed in the embodiment of the present invention provides users with an intuitive display method for multiple remote sensing images through layer rolling, so that users can more clearly understand the differences between images, and improves the accuracy of the comparison results by distinguishing and comparing the remote sensing images through the pixelization method.
[0096] Embodiment 3
[0097] Figure 4 This is a schematic diagram of the structure of a remote sensing image comparison device provided in Embodiment 3 of the present invention. Figure 4 As shown, the device includes: a remote sensing image display module 310, an overlapping area determination module 320 and an image comparison module 330.
[0098] The remote sensing image display module 310 is used to determine at least two remote sensing images to be compared, and display the at least two remote sensing images to be compared in a layer rolling shutter manner.
[0099] The overlapping region determining module 320 is used to determine the overlapping region of at least two remote sensing images to be compared in response to the sliding operation of the slider in the layer rolling screen.
[0100] The image comparison module 330 is used to compare the overlapping areas of at least two remote sensing images to be compared, and use the comparison result as the comparison result of the remote sensing images.
[0101] Optionally, the remote sensing image display module 310 is further used for:
[0102] A remote sensing image list including at least two candidate remote sensing images is obtained; in response to a selection operation on the remote sensing image list, the candidate remote sensing image corresponding to the selection operation is determined as the remote sensing image to be compared.
[0103] Optionally, the remote sensing image display module 310 is further used for:
[0104] The remote sensing images to be compared are displayed on different layers respectively. The layer rolling screen includes an origin layer and at least one comparison layer, wherein the origin layer is placed at the bottom layer and the comparison layer is placed above the origin layer.
[0105] Optionally, the slider in the layer rolling screen is used to control the display area of the contrast layer, and the overlapping area determination module 320 is further used to:
[0106] The slider position in the layer rolling shutter is obtained, and the display area of the comparison layer is determined according to the slider position; the display area of the comparison layer is used as the overlapping area of at least two remote sensing images to be compared, and the overlapping area is saved in a dictionary manner.
[0107] Optionally, the image comparison module 330 is further used for:
[0108] The overlapping areas of at least two remote sensing images to be compared are converted into pixel images; the pixel differences between the pixel images are compared to obtain a comparison result.
[0109] Optionally, the image comparison module 330 is further used for:
[0110] Determine a first number of target pixel blocks in each pixel image according to the target image to be compared in the overlapping area; determine a second number of pixel blocks that are different between the target pixel blocks corresponding to each pixel image, and take the ratio of the second number to the first number as the comparison result.
[0111] Optionally, the device further includes a remote sensing image list generating module 340, which is used to obtain at least two candidate remote sensing images and generate a selectable remote sensing image list.
[0112] The remote sensing image comparison device provided in the embodiment of the present invention can execute the remote sensing image comparison method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0113] Embodiment 4
[0114] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0115] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0116] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0117] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a comparison method of remote sensing images.
[0118] In some embodiments, the remote sensing image comparison method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the comparison of the remote sensing images described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the remote sensing image comparison method in any other appropriate manner (for example, by means of firmware).
[0119] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0120] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0121] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0122] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0123] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0124] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0125] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0126] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A remote sensing image comparison method, characterized in that: include: Determining at least two remote sensing images to be compared, and displaying the at least two remote sensing images to be compared in a layer rolling curtain manner; In response to a sliding operation of a slider in a layer rolling screen, determining an overlapping area of the at least two remote sensing images to be compared; Comparing the at least two remote sensing images to be compared according to the overlapping area, and using the comparison result as the comparison result of the remote sensing images; Comparing the at least two remote sensing images to be compared according to the overlapping area thereof, comprising: Converting the overlapping area of the at least two remote sensing images to be compared into a pixel image; Comparing pixel differences between the pixel images to obtain a comparison result; Comparing the pixel differences between the pixel images to obtain a comparison result includes: Determine a first number of target pixel blocks in each of the pixel images according to the target image to be compared in the overlapping area; Determine a second number of pixel blocks that are different between the target pixel blocks corresponding to the pixel images, and use a ratio of the second number to the first number as the comparison result; Wherein, the remote sensing images to be compared are remote sensing images of different time periods; Determine at least two remote sensing images to be compared, including: Obtaining a remote sensing image list including at least two candidate remote sensing images; In response to a selection operation on the remote sensing image list, a candidate remote sensing image corresponding to the selection operation is determined as the remote sensing image to be compared.
2. The method according to claim 1, characterized in that The at least two remote sensing images to be compared are displayed in a layer rolling curtain manner, including: The remote sensing images to be compared are displayed on different layers respectively, and the layer rolling screen includes an origin layer and at least one comparison layer, wherein the origin layer is placed at the bottom layer and the comparison layer is placed above the origin layer.
3. The method according to claim 2, characterized in that The slider in the layer rolling screen is used to control the display area size of the comparison layer, and determine the overlapping area of the at least two remote sensing images to be compared, including: Obtaining a slider position in the layer rolling screen, and determining a display area of the contrast layer according to the slider position; The display area of the comparison layer is used as the overlapping area of the at least two remote sensing images to be compared, and the overlapping area is saved in a dictionary manner.
4. The method according to claim 1, characterized in that: Before obtaining a remote sensing image list including at least two candidate remote sensing images, it also includes: The at least two candidate remote sensing images are acquired to generate a selectable remote sensing image list.
5. A remote sensing image comparison device, characterized in that: include: A remote sensing image display module, used for determining at least two remote sensing images to be compared, and displaying the at least two remote sensing images to be compared in a layer rolling curtain manner; An overlapping region determination module, configured to determine an overlapping region of the at least two remote sensing images to be compared in response to a sliding operation of a slider in a layer rolling screen; An image comparison module, used for comparing the overlapping areas of the at least two remote sensing images to be compared, and using the comparison result as the comparison result of the remote sensing images; The image comparison module is also used for: Converting the overlapping area of the at least two remote sensing images to be compared into a pixel image; comparing the pixel differences between the pixel images to obtain a comparison result; The image comparison module is also used for: Determine a first number of target pixel blocks in each of the pixel images according to the target image to be compared in the overlapping area; determine a second number of pixel blocks that are different between the target pixel blocks corresponding to each of the pixel images, and use a ratio of the second number to the first number as the comparison result; Wherein, the remote sensing images to be compared are remote sensing images of different time periods; The remote sensing image display module is also used for: A remote sensing image list including at least two candidate remote sensing images is obtained; in response to a selection operation on the remote sensing image list, the candidate remote sensing image corresponding to the selection operation is determined as the remote sensing image to be compared.
6. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the remote sensing image comparison method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the remote sensing image comparison method according to any one of claims 1 to 4 when executed.
Citation Information
Patent Citations
Image difference detection method and device, storage medium and terminal
CN110909750A
Submarine detection image display method and device, equipment and storage medium
CN111047699A
A method for comparative analysis of multi-period image data of natural resources in forest areas
CN114937210A
