Satellite remote sensing image comparison method, device and equipment based on cloud service and medium
By using a cloud-based satellite remote sensing image comparison method, which utilizes cloud servers to process and dynamically adjust image windows, the problem of low accuracy in manual comparison of remote sensing images is solved, and efficient and automated image comparison display is achieved.
Patent Information
- Application Number
- CN202311787161.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-12-22
AI Technical Summary
Existing remote sensing image comparison technology relies on manual selection of images from different periods for comparison, resulting in low accuracy and affecting the observation and comparison effect.
A cloud-based satellite remote sensing image comparison method is adopted, which acquires and processes remote sensing image data through a cloud server, and dynamically adjusts the image window based on the comparison mode and historical operation data to achieve automated and efficient image comparison.
It improves the accuracy and efficiency of remote sensing image comparison, ensuring that all image data is fully displayed in the comparison terminal, facilitating manual observation and analysis.
Smart Images

Figure CN117788401B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of remote sensing imagery, and in particular to a method, apparatus, device, and medium for comparing satellite remote sensing images based on cloud services. Background Technology
[0002] Remote sensing imagery has advantages such as wide detection range, fast data acquisition, large information content and strong comprehensiveness, and is widely used in agriculture, forestry, geology, oceanography, meteorology, military and other fields.
[0003] Remote sensing image comparison reveals changes, evolution, and trends in the Earth's surface by comparing images acquired at different times or by different sensors. This technology is widely used in fields such as natural resource management, urban planning, and environmental monitoring.
[0004] Existing remote sensing image comparison methods generally involve manually selecting images from different periods for comparison. During the comparison, it is necessary to manually drag or select image locations for comparison. Due to the low precision of manual dragging or selection, some parts of the image may not be displayed, which will affect subsequent observation and comparison. Summary of the Invention
[0005] To facilitate manual observation and comparison of remote sensing images and improve comparison efficiency, this application provides a satellite remote sensing image comparison method, apparatus, equipment, and medium based on cloud services.
[0006] Firstly, this application provides a satellite remote sensing image comparison method based on cloud services, employing the following technical solution: A cloud-based satellite remote sensing image comparison method, applied to a remote sensing image comparison terminal, the method comprising: In response to a user's remote sensing image comparison operation, target comparison information of the target comparison area is obtained, wherein the target comparison information includes the comparison remote sensing image identifier, the reference remote sensing image identifier, and the comparison mode; A remote sensing image acquisition request is sent to the cloud server based on the comparison remote sensing image identifier and the reference remote sensing image identifier. Receive the comparison remote sensing image data and reference remote sensing image data returned by the cloud server in response to the remote sensing image acquisition request; Obtain historical comparison operation data for the target comparison area; Based on the comparison mode, an initial comparison remote sensing image window and an initial reference remote sensing image window are determined, wherein the comparison remote sensing image window is used to display the comparison remote sensing image data to be compared, and the reference remote sensing image window is used to display the reference remote sensing image data to be compared. The initial comparison remote sensing image window and the initial reference remote sensing image window are dynamically adjusted based on the historical comparison operation data.
[0007] By adopting the above technical solution, when users need to compare satellite remote sensing images, the comparison operation is performed on the comparison terminal. However, the data volume of satellite remote sensing images is large, and the collected satellite remote sensing image data is stored in a cloud server. When in use, the comparison remote sensing image identifier and the reference remote sensing image identifier are sent to the cloud server to obtain the comparison remote sensing image data and the reference remote sensing image data to be used for comparison. The initial comparison remote sensing image window and the initial reference remote sensing image window are dynamically adjusted according to the comparison mode and historical comparison operation data. The entire adjustment process is set according to the user's actual situation and executed automatically, which can display all satellite remote sensing image data, thereby facilitating manual observation of the remote sensing image comparison and improving the comparison efficiency.
[0008] Optionally, the step of determining the initial contrast remote sensing image window and the initial reference remote sensing image window based on the contrast mode includes: If the comparison mode is split-screen comparison, then obtain the image display interface size; The image display interface is divided based on the image display interface size to generate a comparison image area and a reference image area; Based on the image display interface size, the sizes of the comparison remote sensing image data and the reference image data are uniformly adjusted to generate the comparison image size and the reference image size; Obtain the initial comparison position and initial display ratio; An initial comparison remote sensing image window is generated based on the initial comparison position, the initial display ratio, the comparison image area, and the comparison image size; An initial reference remote sensing image window is generated based on the initial comparison position, the initial display ratio, the reference image area, and the reference image size; If the comparison mode is a roller shutter comparison, then obtain the image display interface size and the initial comparison position; Based on the image display interface size, the sizes of the comparison remote sensing image data and the reference image data are uniformly adjusted to generate the comparison image size and the reference image size; The image display interface is divided based on the image display interface, the size of the comparison image, the size of the reference image, and the initial comparison position to generate an initial comparison remote sensing image window and an initial reference remote sensing image window.
[0009] Optionally, if the comparison mode is a split-screen comparison, then the dynamic adjustment of the initial comparison remote sensing image window and the initial reference remote sensing image window based on the historical comparison operation data includes: Based on the initial comparison position, the comparison remote sensing image data and the reference image data are mapped and bound to generate a mapping and binding result; The preferred comparison area is determined based on the historical comparison operation data. Obtain the preference region size and target comparison duration of the preference comparison region; The target comparison duration is divided based on the comparison image size, the preferred region size, and historical comparison operation data to determine the preferred region comparison duration and the remaining region comparison duration; A dynamic adjustment scheme is generated based on the comparison image size, the preferred region, the generated mapping binding result, the comparison duration of the preferred region, and the comparison duration of the remaining region. The initial contrast remote sensing image window and the initial reference remote sensing image window are dynamically adjusted based on the aforementioned dynamic adjustment scheme.
[0010] Optionally, the dynamic adjustment scheme generated based on the comparison image size, the preferred region, the generated mapping binding result, the comparison duration of the preferred region, and the comparison duration of the remaining region includes: Obtain the window size of the comparison remote sensing image window; The image movement size and speed are generated based on the window size, the comparison image size, the initial display ratio, and the remaining area comparison duration. The preferred region is marked in the contrasting remote sensing image data to generate the marked location; The comparison duration between the marked position and the preference area is bound to generate preference display prompts; The preference display prompts are linked to the image movement size and movement speed to generate a dynamic adjustment scheme.
[0011] Optionally, if the comparison mode is a rolling shutter comparison, then the dynamic adjustment of the initial comparison remote sensing image window and the initial reference remote sensing image window based on the historical comparison operation data includes: The preferred comparison area is determined based on the historical comparison operation data. Obtain the preference region size and target comparison duration of the preference comparison region; The preference contrast ratio of the preference contrast region is calculated based on the size of the contrast image and the size of the preference region. The preference region comparison duration is determined based on the target comparison duration and the preference comparison ratio. A dynamic adjustment scheme is generated based on the target comparison duration, the preferred region comparison duration, and the display interface size; The initial contrast remote sensing image window and the initial reference remote sensing image window are dynamically adjusted based on the aforementioned dynamic adjustment scheme.
[0012] Optionally, the dynamic adjustment scheme generated based on the target comparison duration, the preferred region comparison duration, and the display interface size includes: Obtain the region shape of the preference comparison area; Based on the shape of the area and the historical comparison operation data, determine whether to use the original roller shutter comparison method; If the original roller shutter comparison method is used, the preference display speed of the preference comparison area is determined based on the target comparison duration; The remaining display speeds are determined based on the target comparison duration, the display interface size, and the preferred display speed. The speed at which the preferences are displayed and the speed at which the rest of the displays are displayed are used as a dynamic adjustment scheme. If the original roller blind comparison method is not used, the roller blind shape and roller blind center are determined based on the shape of the area; The preference display speed of the preference analysis area is determined based on the shape of the roller blind and the target comparison duration. The remaining display speeds are determined based on the target comparison duration, the display interface size, and the preferred display speed. The speed at which the preference is displayed and the speed at which the rest are displayed are used as a dynamic adjustment scheme.
[0013] Optionally, determining the shape and center of the roller blind based on the region shape includes: Obtain shape segmentation rules, The shape of the roller blind is determined based on the shape division rules and the region shape; Determine whether the preferred comparison area is located at the center of the compared remote sensing image data; If the preferred comparison area is located at the center of the compared remote sensing image data, then the center of the roller blind is determined based on the shape of the roller blind and the center position; If the preference comparison area is not located at the center of the comparison remote sensing image data, the center position of the roller blind is determined based on the shape of the roller blind, the center position, and the area of the preference analysis region.
[0014] Secondly, this application provides a satellite remote sensing image comparison device based on cloud services, which adopts the following technical solution: A cloud-based satellite remote sensing image comparison device, applied to a remote sensing image comparison terminal, the device comprising: The comparison information acquisition module is used to respond to the user's remote sensing image comparison operation and acquire the target comparison information of the target comparison area, wherein the target comparison information includes the comparison remote sensing image identifier, the reference remote sensing image identifier, and the comparison mode; The request sending module is used to send a remote sensing image acquisition request to the cloud server based on the comparison remote sensing image identifier and the reference remote sensing image identifier. The image data receiving module is used to receive the comparison remote sensing image data and reference remote sensing image data returned by the cloud server in response to the remote sensing image acquisition request. The historical data acquisition module is used to acquire historical comparison operation data of the target comparison area; The image window determination module is used to determine an initial comparison remote sensing image window and an initial reference remote sensing image window based on the comparison mode, wherein the comparison remote sensing image window is used to display the comparison remote sensing image data to be compared, and the reference remote sensing image window is used to display the reference remote sensing image data to be compared. The image window adjustment module is used to dynamically adjust the initial comparison remote sensing image window and the initial reference remote sensing image window based on the historical comparison operation data.
[0015] By adopting the above technical solution, when users need to compare satellite remote sensing images, the comparison operation is performed on the comparison terminal. However, the data volume of satellite remote sensing images is large, and the collected satellite remote sensing image data is stored in a cloud server. When in use, the comparison remote sensing image identifier and the reference remote sensing image identifier are sent to the cloud server to obtain the comparison remote sensing image data and the reference remote sensing image data to be used for comparison. The initial comparison remote sensing image window and the initial reference remote sensing image window are dynamically adjusted according to the comparison mode and historical comparison operation data. The entire adjustment process is set according to the user's actual situation and executed automatically, which can display all satellite remote sensing image data, thereby facilitating manual observation of the remote sensing image comparison and improving the comparison efficiency.
[0016] Thirdly, this application provides an electronic device that adopts the following technical solution: An electronic device includes a processor coupled to a memory; The processor is configured to execute a computer program stored in the memory, such that the electronic device executes the computer program of the cloud-based satellite remote sensing image comparison method as described in any one of the first aspects.
[0017] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium storing a computer program capable of being loaded by a processor and executing the cloud-based satellite remote sensing image comparison method as described in any of the first aspects. Attached Figure Description
[0018] Figure 1 This is a flowchart illustrating a satellite remote sensing image comparison method based on cloud services provided in an embodiment of this application.
[0019] Figure 2 This is a structural block diagram of a satellite remote sensing image comparison device based on cloud services provided in an embodiment of this application.
[0020] Figure 3 This is a structural block diagram of the electronic device provided in the embodiments of this application. Detailed Implementation
[0021] The present application will be further described in detail below with reference to the accompanying drawings.
[0022] This application provides a cloud-based satellite remote sensing image comparison method. This method can be executed by an electronic device, which can be a cloud server or a terminal device. The cloud server can be a standalone physical cloud server, a cloud server cluster or distributed system composed of multiple physical cloud servers, or a cloud server providing cloud computing services. The terminal device can be a smartphone, tablet computer, desktop computer, etc., but is not limited to these.
[0023] Figure 1 This is a flowchart illustrating a satellite remote sensing image comparison method based on cloud services, provided in an embodiment of this application.
[0024] like Figure 1 As shown, the main process of this method is described below (steps S101 to S106): Step S101: In response to the user's remote sensing image comparison operation, obtain target comparison information of the target comparison area, wherein the target comparison information includes the comparison remote sensing image identifier, the reference remote sensing image identifier, and the comparison mode.
[0025] In this embodiment, when a user wants to compare remote sensing images, they need to first determine the area to be compared and use this area as the target comparison area. The target comparison area can be a complete area corresponding to a district, a county, or a city. Each remote sensing image has a corresponding identifier. When confirming the target comparison information, it is necessary to set the comparison remote sensing image identifier, the reference remote sensing image identifier, and the comparison mode so that the cloud server can determine the comparison remote sensing image data and the reference remote sensing image data to be sent to the comparison terminal based on the comparison remote sensing image identifier and the reference remote sensing image identifier.
[0026] Step S102: Send a remote sensing image acquisition request to the cloud server based on the comparison remote sensing image identifier and the reference remote sensing image identifier.
[0027] In this embodiment, after determining the remote sensing image to be used, a corresponding request is generated based on its corresponding identifier, requesting the cloud server to send the corresponding remote sensing image to the comparison terminal.
[0028] Step S103: Receive the comparison remote sensing image data and reference remote sensing image data returned by the cloud server in response to the remote sensing image acquisition request.
[0029] In this embodiment, after receiving the request, the cloud server will search for the corresponding remote sensing image data based on the identifier in the remote sensing image acquisition request, and send the remote sensing image data to the comparison terminal.
[0030] Step S104: Obtain historical comparison operation data for the target comparison area.
[0031] In this implementation, in order to make the final adjustment more suitable for the user, historical comparison operation data is obtained. Historical comparison operation data can reflect information such as comparison habits and comparison preferences. Based on historical comparison operation data, a dynamic adjustment plan that is more suitable for the user can be formulated.
[0032] Step S105: Determine the initial comparison remote sensing image window and the initial reference remote sensing image window based on the comparison mode. The comparison remote sensing image window is used to display the comparison remote sensing image data to be compared, and the reference remote sensing image window is used to display the reference remote sensing image data to be compared.
[0033] For step S105, if the comparison mode is split-screen comparison, then the image display interface size is obtained; the image display interface is divided based on the image display interface size to generate a comparison image area and a reference image area; the size of the comparison remote sensing image data and the reference image data is uniformly adjusted based on the image display interface size to generate the comparison image size and the reference image size; the initial comparison position and the initial display ratio are obtained; an initial comparison remote sensing image window is generated based on the initial comparison position, the initial display ratio, the comparison image area, and the comparison image size; an initial reference remote sensing image window is generated based on the initial comparison position, the initial display ratio, the reference image area, and the reference image size. If the comparison mode is roll-up comparison, then the image display interface size and the initial comparison position are obtained; the size of the comparison remote sensing image data and the reference image data is uniformly adjusted based on the image display interface size to generate the comparison image size and the reference image size; the image display interface is divided based on the image display interface, the comparison image size, the reference image size, and the initial comparison position to generate the initial comparison remote sensing image window and the initial reference remote sensing image window.
[0034] In this embodiment, when dividing the initial remote sensing image window and the initial reference remote sensing image window, since the comparison mode has two comparison modes, namely split-screen comparison and roll-up comparison, the two comparison modes have different window division methods.
[0035] When the comparison mode is split-screen comparison, the entire image display interface needs to be divided into two equal parts. During this division, the image display interface is divided according to the image display page size, resulting in two areas of the same size. These two areas are designated as the comparison image area and the reference image area, respectively. After area division, the comparison remote sensing image data needs to be placed into the comparison image area to generate the initial comparison remote sensing image window, and the reference image data needs to be placed into the reference image area to generate the initial comparison remote sensing image window. However, before placing the remote sensing image data into the image areas, the comparison remote sensing image data and the reference remote sensing image data need to be standardized according to the image... The size division method for the display interface will unify the sizes of the comparative remote sensing image data and the reference image data. For example, if the standard size of the image display page is a 4:3 aspect ratio in mm, the sizes of the comparative remote sensing image data and the reference image data also need to be adjusted to a 4:3 aspect ratio in mm. The adjusted sizes of the comparative and reference images should be consistent with the size of the image display page. Then, the comparative and reference image data will be displayed according to the initial display ratio, so that the displayed remote sensing image data can be consistent and matched with the image display interface during subsequent comparisons.
[0036] During display, the user needs to select a location as the initial comparison position. The display then begins from this initial comparison position, determining the initial display scale. The comparison remote sensing image data and the reference image data are then enlarged according to the initial display scale using the comparison image size and the reference image size, respectively. Afterward, the enlarged comparison remote sensing image data and the enlarged reference image data are placed into the comparison image area and the reference image area, respectively, according to the initial comparison position, resulting in the initial comparison remote sensing image window and the initial reference remote sensing image window. It should be noted that the initial comparison position is generally any one of the four vertices of the remote sensing image data, determined by dividing the image area.
[0037] When the comparison mode is roll-up comparison, there is no need to divide the image display interface. However, since the comparison remote sensing image data and reference image data need to be tiled on the image display interface in an overlay manner, in order to ensure that the comparison remote sensing image data and reference image data completely overlap and match the image display interface, it is also necessary to adjust their sizes uniformly. For example, if the standard size of the image display page is a 4:3 aspect ratio in mm, the size of the comparison remote sensing image data and reference image data also needs to be adjusted to a 4:3 aspect ratio in mm, and the adjusted size of the comparison image and reference image should match the image display interface. The display page maintains a consistent size. The comparison remote sensing image data and reference image data are placed in the image display interface according to the comparison image size and reference image size, and the initial comparison position is determined, resulting in the initial comparison remote sensing image window and the initial reference remote sensing image window. Generally, the initial page only contains reference image data, so the initial size of the comparison remote sensing image window is zero, and the initial size of the reference remote sensing image window is 100%. As the comparison proceeds, the size of the reference remote sensing image window gradually decreases to the size of the initial reference remote sensing image window, and the size of the comparison remote sensing image window gradually increases to the size of the initial comparison remote sensing image window.
[0038] Step S106: Dynamically adjust the initial comparison remote sensing image window and the initial reference remote sensing image window based on historical comparison operation data.
[0039] When making dynamic adjustments, the adjustment methods for the two comparison modes are different, thus requiring different adjustments based on the specific comparison mode.
[0040] When the comparison mode is split-screen comparison, the comparison remote sensing image data and the reference image data are mapped and bound based on the initial comparison position to generate a mapping and binding result; the preferred comparison area is determined based on historical comparison operation data; the preferred area size and target comparison duration are obtained; the target comparison duration is divided based on the comparison image size, preferred area size, and historical comparison operation data to determine the preferred area comparison duration and the remaining area comparison duration; a dynamic adjustment scheme is generated based on the comparison image size, preferred area, generated mapping and binding result, preferred area comparison duration, and remaining area comparison duration; and the initial comparison remote sensing image window and the initial reference remote sensing image window are dynamically adjusted based on the dynamic adjustment scheme.
[0041] In this embodiment, since the comparison remote sensing image window and the reference remote sensing image window need to be consistent during split-screen comparison, that is, the comparison remote sensing image data displayed in the comparison image area is consistent with the reference remote sensing image data displayed in the reference image area, the adjustment method of the remote sensing image data in the two image areas is the same when making dynamic adjustments. That is, a set of the same dynamic adjustment scheme can be used. Therefore, when formulating the dynamic adjustment scheme, only the comparison remote sensing image data part needs to be specified. By mapping and binding the comparison remote sensing image data and the reference image data at the initial comparison position, a binding result is generated. The binding result means that when one remote sensing image data is adjusted, the other remote sensing image data is adjusted synchronously with the same remote sensing image data.
[0042] After generating the binding results, historical comparison data is analyzed to obtain the preferred comparison area. The size of this preferred comparison area is then obtained and used as its value. The target comparison duration is the total duration used for comparison. During the comparison, both the comparison and reference remote sensing image data must be displayed and compared within the target comparison duration. When formulating the dynamic adjustment plan, the target comparison duration is divided based on the comparison image size, preferred area size, and historical comparison data. Historical comparison data is primarily used to set the preferred area comparison duration. After determining the preferred area comparison duration, the remaining area comparison duration is obtained by subtracting it from the target comparison duration. During comparison display, the preferred comparison area is displayed within its specified duration, while other areas are displayed within the remaining duration. A dynamic adjustment plan is generated based on the comparison image size, preferred area, generated mapping binding results, preferred area comparison duration, and remaining area comparison duration. The dynamic adjustment plan is then used for adjustments.
[0043] The specific method for formulating the dynamic adjustment scheme is as follows: obtain the window size of the comparison remote sensing image window; generate the image movement size and movement speed based on the window size, comparison image size, initial display ratio, and remaining area comparison duration; mark the preferred area in the comparison remote sensing image data to generate the mark position; bind the mark position with the comparison duration of the preferred area to generate the preference display prompt; bind the preference display prompt with the image movement size and movement speed to generate the dynamic adjustment scheme.
[0044] In this embodiment, the image movement size and speed are calculated based on the window size of the comparison remote sensing image window, the size of the comparison image, the initial display ratio, and the comparison duration of the remaining area. The display image size can be calculated based on the initial display ratio and the size of the comparison image. The image movement size and speed can be calculated based on the window size, the display image size, and the comparison duration of the remaining area. Then, the preferred area is marked in the comparison remote sensing image data, generating a marked position. The marked position is bound to the comparison duration of the preferred area, generating a preference display prompt. During the adjustment process, when moving to the marked position, the preferred area is displayed in its entirety in the comparison image area, generating a new comparison remote sensing image window, and displaying it according to the comparison duration of the preferred area. The preference display prompt is bound to the image movement size and speed, generating a dynamic adjustment scheme. Since a mapping and binding operation has already been performed, this dynamic adjustment scheme is used to dynamically adjust the remote sensing image data.
[0045] When the comparison mode is roll-up comparison, the preferred comparison area is determined based on historical comparison operation data; the preferred area size and target comparison duration are obtained; the preferred comparison ratio of the preferred comparison area is calculated based on the comparison image size and preferred area size; the preferred area comparison duration is determined based on the target comparison duration and preferred comparison ratio; a dynamic adjustment scheme is generated based on the target comparison duration, preferred area comparison duration, and display interface size; and the initial comparison remote sensing image window and the initial reference remote sensing image window are dynamically adjusted based on the dynamic adjustment scheme.
[0046] In this embodiment, when performing a rolling screen comparison, only the reference remote sensing image data is used as the reference layer, the comparison remote sensing image data is used as the comparison layer, and the reference layer is placed below the comparison layer. The rolling screen display starts from the initial comparison position. Historical comparison operation data is analyzed and processed to obtain the preferred comparison area. Then, the size of the preferred comparison area is obtained and used as the preferred area size. The target comparison duration is the total time used for comparison. During the comparison, both the comparison remote sensing image data and the reference remote sensing image data need to be displayed and compared once within the target comparison duration.
[0047] Next, the size of the comparison image is calculated as a percentage of the preferred area size to obtain the preferred comparison percentage of the preferred comparison area. The product of the target comparison duration and the preferred comparison percentage is calculated to obtain the preferred area comparison duration. The remaining area comparison duration is calculated using the target comparison duration and the preferred area comparison duration. A dynamic adjustment scheme is generated based on the target comparison duration, the preferred area comparison duration, and the display interface size. The dynamic adjustment scheme is used for adjustment during the dynamic adjustment process.
[0048] When formulating a dynamic adjustment plan, the shape of the preference comparison area is obtained; based on the area shape and historical comparison operation data, it is determined whether to use the original roller shutter comparison method; if the original roller shutter comparison method is used, the preference display speed of the preference comparison area is determined based on the target comparison duration; the remaining display speeds are determined based on the target comparison duration, display interface size, and preference display speed; the preference display speed and the remaining display speeds are used as the dynamic adjustment plan; if the original roller shutter comparison method is not used, the roller shutter shape and roller shutter center are determined based on the area shape; the preference display speed of the preference analysis area is determined based on the roller shutter shape and target comparison duration; the remaining display speeds are determined based on the target comparison duration, display interface size, and preference display speed; the preference display speed and the remaining display speeds are used as the dynamic adjustment plan.
[0049] First, based on the shape of the preferred comparison area and historical comparison operation data, it is determined whether the original roller shutter comparison method should be used. The original roller shutter comparison method is to compare from left to right or from right to left. Since the initial display position has been selected at the beginning, when determining whether to use the original roller shutter comparison method, the initial display position should also be considered. The specific determination method is to see if a non-original roller shutter comparison method has been used before, and if the number of times it has been used has reached a preset number. If so, it is determined that the original roller shutter comparison method will not be used, and the initially selected initial display position will be discarded. If not, it is determined that the original roller shutter comparison method will be used, and the initially selected initial display position will be used as the initial display position for dynamic adjustment.
[0050] When using the original roll-up comparison method, since the preferred area comparison time has already been calculated based on the target comparison time, the preferred display speed can be calculated based on the preferred area comparison time and the preferred area size. At the same time, the comparison time of the remaining areas is calculated based on the target comparison time and the preferred area comparison time, and the remaining display speed is calculated based on the display interface size and the remaining area comparison time. Thus, the preferred display speed and the remaining display speed are used as a dynamic adjustment scheme.
[0051] When not using the original roller shutter comparison method, the shape and center of the roller shutter need to be determined first. Since the preferred area comparison duration has already been calculated based on the target comparison duration, the preferred display speed can be calculated based on the preferred area comparison duration and size. Simultaneously, the comparison durations for the remaining areas are calculated based on the target and preferred area comparison durations. Then, the remaining display speeds are calculated based on the display interface size and the comparison durations for the remaining areas. Finally, the preferred display speed and the remaining display speeds are used as a dynamic adjustment scheme. Unlike the original roller shutter comparison method, when adjusting without using the original comparison scheme, the adjustment position starts from the center of the roller shutter and gradually expands the size of the comparison remote sensing image window according to the shape of the roller shutter.
[0052] The specific method of rolling up the shutter and the determination of the center position of the shutter are as follows: obtain the shape division rules, determine the shape of the shutter based on the shape division rules and the shape of the region; determine whether the preferred comparison area is located at the center position of the compared remote sensing image data; if the preferred comparison area is located at the center position of the compared remote sensing image data, then determine the center of the shutter based on the shape and center position of the shutter; if the preferred comparison area is not located at the center position of the compared remote sensing image data, then determine the center position of the shutter based on the shape, center position of the shutter and the area of the preferred analysis region.
[0053] In this embodiment, the shape division rule is to use the shape obtained from historical comparison operation data as the roller shutter shape. The roller shutter shape in the history is drawn manually by the user and presents a closed shape. Then, it is checked whether the preferred comparison area is located at the center position of the compared remote sensing image data. If it is located at the center position, the center position is directly used as the center position of the roller shutter. If the preferred comparison area is not located at the center position of the roller shutter of the compared remote sensing image data, a center position selection prompt is generated, and the center position of the roller shutter is determined according to the user's selection feedback.
[0054] Figure 2 A structural block diagram of a cloud-based satellite remote sensing image comparison device 200 provided in the application embodiment.
[0055] like Figure 2 As shown, the cloud-based satellite remote sensing image comparison device 200 mainly includes: The comparison information acquisition module 201 is used to respond to the user's remote sensing image comparison operation and acquire the target comparison information of the target comparison area, wherein the target comparison information includes the comparison remote sensing image identifier, the reference remote sensing image identifier, and the comparison mode. The request sending module 202 is used to send a remote sensing image acquisition request to the cloud server based on the comparison remote sensing image identifier and the reference remote sensing image identifier. The image data receiving module 203 is used to receive the comparison remote sensing image data and reference remote sensing image data returned by the cloud server in response to the remote sensing image acquisition request. Historical data acquisition module 204 is used to acquire historical comparison operation data of the target comparison area; The image window determination module 205 is used to determine an initial comparison remote sensing image window and an initial reference remote sensing image window based on the comparison mode. The comparison remote sensing image window is used to display the comparison remote sensing image data to be compared, and the reference remote sensing image window is used to display the reference remote sensing image data to be compared. The image window adjustment module 206 is used to dynamically adjust the initial comparison remote sensing image window and the initial reference remote sensing image window based on historical comparison operation data.
[0056] As an optional implementation of this embodiment, the image window determination module 205 is specifically used to: if the comparison mode is split-screen comparison, obtain the image display interface size; divide the image display interface based on the image display interface size to generate a comparison image area and a reference image area; uniformly adjust the size of the comparison remote sensing image data and the reference image data based on the image display interface size to generate a comparison image size and a reference image size; obtain the initial comparison position and the initial display ratio; generate an initial comparison remote sensing image window based on the initial comparison position, the initial display ratio, the comparison image area, and the comparison image size; generate an initial reference remote sensing image window based on the initial comparison position, the initial display ratio, the reference image area, and the reference image size; if the comparison mode is roll-up comparison, obtain the image display interface size and the initial comparison position; uniformly adjust the size of the comparison remote sensing image data and the reference image data based on the image display interface size to generate a comparison image size and a reference image size; divide the image display interface based on the image display interface, the comparison image size, the reference image size, and the initial comparison position to generate an initial comparison remote sensing image window and an initial reference remote sensing image window.
[0057] As an optional implementation of this embodiment, the image window adjustment module 206 includes: The image mapping and binding module is used to map and bind the comparison remote sensing image data and the reference image data based on the initial comparison position, and generate the mapping and binding result; The first region determination module is used to determine the preferred comparison region based on historical comparison operation data. The first information acquisition module is used to acquire the size of the preference comparison area and the target comparison duration. The first duration determination module is used to divide the target comparison duration based on the comparison image size, the preferred region size, and historical comparison operation data, and to determine the comparison duration of the preferred region and the comparison duration of the remaining region. The first scheme generation module is used to generate a dynamic adjustment scheme based on the comparison image size, preferred region, generated mapping and binding results, comparison duration of preferred region and comparison duration of remaining region. The first dynamic adjustment module is used to dynamically adjust the initial contrast remote sensing image window and the initial reference remote sensing image window based on the dynamic adjustment scheme.
[0058] In this optional embodiment, the first scheme generation module is specifically used to obtain the window size of the comparison remote sensing image window; generate the image movement size and movement speed based on the window size, the comparison image size, the initial display ratio, and the remaining area comparison duration; mark the preferred area in the comparison remote sensing image data to generate the mark position; bind the mark position with the preferred area comparison duration to generate the preference display prompt; and bind the preference display prompt with the image movement size and movement speed to generate a dynamic adjustment scheme.
[0059] As an optional implementation of this embodiment, the image window adjustment module 206 includes: The second region determination module is used to determine the preferred comparison region based on historical comparison operation data. The second duration acquisition module is used to obtain the size of the preference comparison area and the target comparison duration. The preference proportion calculation module is used to calculate the preference comparison proportion of the preference comparison area based on the size of the comparison image and the size of the preference area. The preference duration determination module is used to determine the preference region comparison duration based on the target comparison duration and the preference comparison ratio. The second scheme generation module is used to generate a dynamic adjustment scheme based on the target comparison duration, the preferred area comparison duration, and the display interface size. The second dynamic adjustment module is used to dynamically adjust the initial contrast remote sensing image window and the initial reference remote sensing image window based on the dynamic adjustment scheme.
[0060] In this optional embodiment, the second scheme generation module includes: The region shape acquisition module is used to acquire the region shape of the preference comparison region; The comparison method determination module is used to determine whether to use the original roller shutter comparison method based on the area shape and historical comparison operation data. The first preference determination module is used to determine the preference display speed of the preference comparison area based on the target comparison duration. The first remaining determination module is used to determine the remaining display speed based on the target comparison duration, display interface size, and preferred display speed. The first display determination module is used to dynamically adjust the preferred display speed and other display speeds. The roller shutter information determination module is used to determine the shape and center of the roller shutter based on the shape of the area. The second preference determination module is used to determine the preference display speed of the preference analysis area based on the shape of the roller blind and the target comparison duration. The second remaining determination module is used to determine the remaining display speed based on the target comparison duration, display interface size, and preferred display speed. The second display determination module is used to dynamically adjust the preferred display speed and other display speeds.
[0061] As an optional implementation of this embodiment, the blind information determination module is specifically used to obtain shape division rules, determine the shape of the blind based on the shape division rules and the region shape; determine whether the preferred comparison region is located at the center of the compared remote sensing image data; if the preferred comparison region is located at the center of the compared remote sensing image data, then the center of the blind is determined based on the blind shape and the center position; if the preferred comparison region is not located at the center of the compared remote sensing image data, then the center position of the blind is determined based on the blind shape, the center position, and the area of the preferred analysis region.
[0062] In one example, the module in any of the above devices may be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0063] For example, when modules in a device can be implemented via a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor capable of calling programs. Alternatively, these modules can be integrated together as a system-on-a-chip (SOC).
[0064] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device and module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0065] Figure 3 This is a structural block diagram of the electronic device 300 provided in an embodiment of this application.
[0066] like Figure 3As shown, the electronic device 300 includes a processor 301 and a memory 302, and may further include one or more of an information input / output (I / O) interface 303, a communication component 304, and a communication bus 305.
[0067] The processor 301 controls the overall operation of the electronic device 300 to complete all or part of the steps of the cloud-based satellite remote sensing image comparison method described above. The memory 302 stores various types of data to support the operation of the electronic device 300. This data may include, for example, instructions for any application or method operating on the electronic device 300, as well as application-related data. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as one or more of Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0068] I / O interface 303 provides an interface between processor 301 and other interface modules, such as keyboards, mice, and buttons. These buttons can be virtual or physical. Communication component 304 is used for wired or wireless communication between electronic device 300 and other devices. Wireless communication includes Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination thereof. Therefore, the corresponding communication component 104 may include a Wi-Fi component, a Bluetooth component, and an NFC component.
[0069] The electronic device 300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the cloud-based satellite remote sensing image comparison method given in the above embodiments.
[0070] The communication bus 305 may include a path for transmitting information between the aforementioned components. The communication bus 305 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 305 may be divided into an address bus, a data bus, a control bus, etc.
[0071] Electronic device 300 may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers, and may also include cloud servers.
[0072] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described cloud-based satellite remote sensing image comparison method.
[0073] The computer-readable storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0074] The terms “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0075] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the foregoing application concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions claimed in this application.
Claims
1. A satellite remote sensing image comparison method based on cloud services, characterized in that, The method, applied to a remote sensing image comparison terminal, includes: In response to a user's remote sensing image comparison operation, target comparison information of the target comparison area is obtained, wherein the target comparison information includes the comparison remote sensing image identifier, the reference remote sensing image identifier, and the comparison mode; A remote sensing image acquisition request is sent to the cloud server based on the comparison remote sensing image identifier and the reference remote sensing image identifier. Receive the comparison remote sensing image data and reference remote sensing image data returned by the cloud server in response to the remote sensing image acquisition request; Obtain historical comparison operation data for the target comparison area; Based on the comparison mode, an initial comparison remote sensing image window and an initial reference remote sensing image window are determined, wherein the comparison remote sensing image window is used to display the comparison remote sensing image data to be compared, and the reference remote sensing image window is used to display the reference remote sensing image data to be compared. The initial comparison remote sensing image window and the initial reference remote sensing image window are dynamically adjusted based on the historical comparison operation data. If the comparison mode is split-screen comparison, then the dynamic adjustment of the initial comparison remote sensing image window and the initial reference remote sensing image window based on the historical comparison operation data includes: Based on the initial comparison position, the comparison remote sensing image data and the reference remote sensing image data are mapped and bound to generate a mapping and binding result; The preferred comparison area is determined based on the historical comparison operation data. Obtain the preference region size and target comparison duration of the preference comparison region; The target comparison duration is divided based on the comparison image size, the preferred region size, and historical comparison operation data to determine the preferred region comparison duration and the remaining region comparison duration; A dynamic adjustment scheme is generated based on the comparison image size, the preferred region, the generated mapping binding result, the comparison duration of the preferred region, and the comparison duration of the remaining region. The initial comparison remote sensing image window and the initial reference remote sensing image window are dynamically adjusted based on the aforementioned dynamic adjustment scheme. The dynamic adjustment scheme based on the comparison image size, the preferred region, the generated mapping binding result, the comparison duration of the preferred region, and the comparison duration of the remaining region includes: Obtain the window size of the comparison remote sensing image window; The image movement size and speed are generated based on the window size, the comparison image size, the initial display ratio, and the comparison duration of the remaining area. The preferred region is marked in the contrasting remote sensing image data to generate the marked location; The comparison duration between the marked position and the preference area is bound to generate preference display prompts; The preference display prompts are linked to the image movement size and movement speed to generate a dynamic adjustment scheme.
2. The method according to claim 1, characterized in that, The process of determining the initial contrast remote sensing image window and the initial reference remote sensing image window based on the contrast mode includes: If the comparison mode is split-screen comparison, then obtain the image display interface size; The image display interface is divided based on the image display interface size to generate a comparison image area and a reference image area; Based on the image display interface size, the sizes of the comparison remote sensing image data and the reference remote sensing image data are uniformly adjusted to generate the comparison image size and the reference image size; Obtain the initial comparison position and initial display ratio; An initial comparison remote sensing image window is generated based on the initial comparison position, the initial display ratio, the comparison image area, and the comparison image size; An initial reference remote sensing image window is generated based on the initial comparison position, the initial display ratio, the reference image area, and the reference image size; If the comparison mode is a roller shutter comparison, then obtain the image display interface size and the initial comparison position; Based on the image display interface size, the sizes of the comparison remote sensing image data and the reference remote sensing image data are uniformly adjusted to generate the comparison image size and the reference image size; The image display interface is divided based on the image display interface, the size of the comparison image, the size of the reference image, and the initial comparison position to generate an initial comparison remote sensing image window and an initial reference remote sensing image window.
3. The method according to claim 2, characterized in that, If the comparison mode is a rolling shutter comparison, then the dynamic adjustment of the initial comparison remote sensing image window and the initial reference remote sensing image window based on the historical comparison operation data includes: The preferred comparison area is determined based on the historical comparison operation data. Obtain the preference region size and target comparison duration of the preference comparison region; The preference contrast ratio of the preference contrast region is calculated based on the size of the contrast image and the size of the preference region. The preference region comparison duration is determined based on the target comparison duration and the preference comparison ratio. A dynamic adjustment scheme is generated based on the target comparison duration, the preferred region comparison duration, and the display interface size; The initial contrast remote sensing image window and the initial reference remote sensing image window are dynamically adjusted based on the aforementioned dynamic adjustment scheme.
4. The method according to claim 3, characterized in that, The dynamic adjustment scheme based on the target comparison duration, the preferred region comparison duration, and the display interface size includes: Obtain the region shape of the preference comparison area; Based on the shape of the area and the historical comparison operation data, determine whether to use the original roller shutter comparison method; If the original roller shutter comparison method is used, the preference display speed of the preference comparison area is determined based on the target comparison duration; The remaining display speeds are determined based on the target comparison duration, the display interface size, and the preferred display speed. The speed at which the preferences are displayed and the speed at which the rest of the displays are displayed are used as a dynamic adjustment scheme. If the original roller blind comparison method is not used, the roller blind shape and roller blind center are determined based on the shape of the area; The preference display speed of the preference comparison area is determined based on the shape of the roller blind and the target comparison duration. The remaining display speeds are determined based on the target comparison duration, the display interface size, and the preferred display speed. The speed at which the preference is displayed and the speed at which the rest are displayed are used as a dynamic adjustment scheme.
5. The method according to claim 4, characterized in that, Determining the shape and center of the roller blind based on the shape of the region includes: Obtain shape segmentation rules. The shape of the roller blind is determined based on the shape division rules and the region shape; Determine whether the preferred comparison area is located at the center of the compared remote sensing image data; If the preferred comparison area is located at the center of the compared remote sensing image data, then the center of the roller blind is determined based on the shape of the roller blind and the center position; If the preferred comparison area is not located at the center of the compared remote sensing image data, the center position of the roller blind is determined based on the shape of the roller blind, the center position, and the area of the preferred comparison area.
6. A satellite remote sensing image comparison device based on cloud services, characterized in that, The device, used in a remote sensing image comparison terminal, includes: The comparison information acquisition module is used to respond to the user's remote sensing image comparison operation and acquire the target comparison information of the target comparison area, wherein the target comparison information includes the comparison remote sensing image identifier, the reference remote sensing image identifier, and the comparison mode; The request sending module is used to send a remote sensing image acquisition request to the cloud server based on the comparison remote sensing image identifier and the reference remote sensing image identifier. The image data receiving module is used to receive the comparison remote sensing image data and reference remote sensing image data returned by the cloud server in response to the remote sensing image acquisition request; The historical data acquisition module is used to acquire historical comparison operation data of the target comparison area; The image window determination module is used to determine an initial comparison remote sensing image window and an initial reference remote sensing image window based on the comparison mode, wherein the comparison remote sensing image window is used to display the comparison remote sensing image data to be compared, and the reference remote sensing image window is used to display the reference remote sensing image data to be compared. The image window adjustment module is used to dynamically adjust the initial comparison remote sensing image window and the initial reference remote sensing image window based on the historical comparison operation data. If the comparison mode is split-screen comparison, then the dynamic adjustment of the initial comparison remote sensing image window and the initial reference remote sensing image window based on the historical comparison operation data includes: The image mapping and binding module is used to map and bind the comparison remote sensing image data and the reference remote sensing image data based on the initial comparison position, and generate a mapping and binding result; The first region determination module is used to determine the preferred comparison region based on the historical comparison operation data. The first information acquisition module is used to acquire the preference region size and target comparison duration of the preference comparison region. The first duration determination module is used to divide the target comparison duration based on the comparison image size, the preferred region size, and historical comparison operation data, and determine the preferred region comparison duration and the remaining region comparison duration. The first scheme generation module is used to generate a dynamic adjustment scheme based on the comparison image size, the preferred region, the generated mapping binding result, the comparison duration of the preferred region, and the comparison duration of the remaining region. The first dynamic adjustment module is used to dynamically adjust the initial comparison remote sensing image window and the initial reference remote sensing image window based on the dynamic adjustment scheme. The dynamic adjustment scheme based on the comparison image size, the preferred region, the generated mapping binding result, the comparison duration of the preferred region, and the comparison duration of the remaining region includes: Obtain the window size of the comparison remote sensing image window; The image movement size and speed are generated based on the window size, the comparison image size, the initial display ratio, and the comparison duration of the remaining area. The preferred region is marked in the contrasting remote sensing image data to generate the marked location; The comparison duration between the marked position and the preference area is bound to generate preference display prompts; The preference display prompts are linked to the image movement size and movement speed to generate a dynamic adjustment scheme.
7. An electronic device, characterized in that, Includes a processor, which is coupled to a memory; The processor is configured to execute a computer program stored in the memory, causing the electronic device to perform the method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, It includes a computer program or instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Medical image display method, information processing method and storage medium
CN111081352A
Mobile user data visualization system and method
CN116186150A
