CN117648067A - Method and system for rapidly displaying ultra-large remote sensing image - Google Patents

Method and system for rapidly displaying ultra-large remote sensing image Download PDF

Info

Publication number
CN117648067A
CN117648067A CN202311605945.1A CN202311605945A CN117648067A CN 117648067 A CN117648067 A CN 117648067A CN 202311605945 A CN202311605945 A CN 202311605945A CN 117648067 A CN117648067 A CN 117648067A
Authority
CN
China
Prior art keywords
image
pyramid
display
display view
remote sensing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311605945.1A
Other languages
Chinese (zh)
Inventor
袁修孝
汪训平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN202311605945.1A priority Critical patent/CN117648067A/en
Publication of CN117648067A publication Critical patent/CN117648067A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a rapid display method and a rapid display system for ultra-large-format remote sensing images, which are characterized in that: creating an image pyramid, comprising defining a pyramid image resampling list, and constructing the image pyramid in a mode of adding data at the end of a ROM address of an input image; constructing and initializing a display view, including acquiring screen physical information, creating an empty display view, and initializing the display view by using a topmost pyramid image; constructing a tile index, namely constructing indexes for all tiles in a pyramid of a layer where a display view is located, judging whether the tiles are in a display view area, if so, continuing to execute, otherwise, not refreshing the display view; loading image blocks, namely loading corresponding image blocks in the ROM into the RAM according to the tile index information; refreshing the display view includes refreshing a corresponding region of the tile index information corresponding to the display view with the image block in RAM. The method can realize the efficient construction and quick display of the pyramid image of the ultra-large remote sensing image.

Description

Method and system for rapidly displaying ultra-large remote sensing image
Technical Field
The invention relates to the field of remote sensing image storage and visualization, in particular to a pyramid construction and quick display method of an ultra-large-format remote sensing image.
Background
With the development of earth observation technology, the breadth of remote sensing images is larger and larger, and the breadth of single-view images can exceed 30000×30000 pixels. In general, in order to completely cover the whole region of interest, it is necessary to mosaic a multi-view remote sensing image, and the mosaic generated image is as wide as millions of pixels, and finally a single image of hundreds of GB is generated. The conventional image display technology loads image data into a RAM (random access memory) at one time, which is only applicable to small-format images and brings a plurality of problems to the display of ultra-large-format images: (1) The method is very time-consuming to load and release hundreds of GB image data into and from the memory at one time under the influence of multiple factors such as CPU frequency, ROM (read only memory) and RAM read/write speed; (2) Excessive RAM occupation can cause other applications to fail to operate properly; (3) Hundreds of GB of RAM configured for remote sensing image display also wastes a large amount of computer resources.
The picture display software of the Win10 operating system can not browse ultra-large remote sensing images; professional image processing software PhotoShop adopts a strategy of loading the whole image into the RAM, and when the ROM space occupied by the image is larger than the RAM, the image cannot be displayed normally; common remote sensing image processing software such as ArcGIS, ENVI, inpho can realize the display of large-format remote sensing images, but the speed of loading the images and the experience of image scaling and roaming are different. For users, the quick image opening and the good zooming and roaming functions are one of important indexes for evaluating the advantages and disadvantages of the remote sensing image processing software. The ArcGIS generates a temporary file to construct a dynamic image pyramid when loading a large-format image, but when the data size is too large, the software operates no Chang Kadu; an Envi Zoom module of ENVI creates a new file to record image pyramid information when opening an image, and realizes the gradual smoothing process from coarse to fine of image display based on a multi-thread image display technology; inpho can quickly load a screen-sized image block when loading an oversized image, but when scaling is continued, it still adopts a strategy of loading the entire image into RAM. The image visualization method corresponding to the commercial software is not disclosed outside, and can only be used by the software or a secondary development environment provided by a parent company of the software. In addition, QGIS is also favored by many scientific researchers as a kind of open source software with rich functions, but has great promotion space for the functions of displaying, zooming, roaming and the like of the ultra-large-format image.
Therefore, a technical scheme for rapidly displaying the ultra-large-format remote sensing image with higher practicability is needed to be developed in the field.
Disclosure of Invention
The technical solution of the invention is as follows: the method for constructing and rapidly displaying the pyramid of the ultra-large-format remote sensing image is provided for overcoming the defects of the prior art. No extra file is generated when the image pyramid is constructed, and the display efficiency of the ultra-large-format remote sensing image is improved while the memory occupation of a computer is reduced.
The technical scheme of the invention provides a rapid display method of an ultra-large-format remote sensing image, which comprises the following steps of:
s1, creating an image pyramid, wherein the image pyramid comprises defining a pyramid image resampling list, and constructing the image pyramid in a mode of adding data at the end of a ROM address of an input image;
s2, constructing and initializing a display view, including acquiring screen physical information, creating an empty display view, and initializing the display view by using a topmost pyramid image;
s3, constructing a tile index, namely constructing indexes for all tiles in the pyramid of the layer where the display view is located, and judging whether the tiles are in the display view area or not. If yes, executing step S4, otherwise, not refreshing the display view;
s4, loading the image blocks, namely loading the corresponding image blocks in the ROM into the RAM according to the tile index information;
s5, refreshing the display view, wherein refreshing the corresponding area of the tile index information corresponding to the display view by using the image block in the RAM.
In the step S1, the pyramid image resampling list includes two pieces of information including the number of pyramid layers and the corresponding resampling multiplying power; the pyramid image parameters are continuously stored at the tail of the ROM address of the image, original image data are not destroyed, a new file for maintaining pyramid image information is not generated, and the implementation mode is as follows:
(1) Acquiring an address of a remote sensing image in the ROM and calculating the ROM size occupied by the data;
(2) The remote sensing images in the ROM are loaded into the RAM by the partitioning, a pyramid attribute information list containing the number of pyramid layers and the corresponding resampling multiplying power of each layer is created, whether scaling factors scale are in the pyramid attribute information list is judged, if yes, the step (3) is executed, and if not, the step (3) is exited;
(3) Resampling the image block in RAM to original
(4) Compressing the resampled image block and calculating the size of the compressed image block;
(5) Updating the address originally pointed to by the image head is as follows: ROM image head address + image size + stored resampled and compressed image block size;
(6) The images after resampling and compressing are continuously stored at the new address.
Moreover, in the step S2, the display view is not an integral one but divided into a plurality of display units; and initializing the display view by using the topmost pyramid image.
Moreover, in the step S3, the index information of the tile includes the pyramid layer number, the tile number, the upper left corner coordinate of the tile, and the size of the tile.
In step S4, the image block corresponding to the tile index information is loaded from the ROM to the RAM as required, instead of loading the entire ultra-large format remote sensing image.
In step S5, the entire view is not refreshed when the display view is refreshed, and only the display unit corresponding to the tile index information is refreshed.
Moreover, the implementation of the image block from loading to display is as follows:
(1) Starting a display window thread, and acquiring screen physical information to construct a display window;
(2) Transmitting tile structure information in the display window to a data loading thread, and waiting for tile data to be returned;
(3) Positioning the required tile address from ROM and loading the image block into RAM;
(4) Returning the image block to the display window thread, and waiting for new tile structure information to be loaded;
(5) Refreshing the display view, and rendering the image blocks in the RAM to a designated area of the screen.
On the other hand, the invention also provides a rapid display system of the ultra-large format remote sensing image, which is used for realizing the rapid display method of the ultra-large format remote sensing image, and comprises the following modules:
the first module is used for creating an image pyramid, comprises defining a pyramid image resampling list, and builds the image pyramid in a mode of adding data at the tail of a read-only memory (ROM) address of an input image;
the second module is used for constructing and initializing the display view, and comprises the steps of acquiring screen physical information, creating an empty display view and initializing the display view by using the topmost pyramid image;
and a third module, configured to construct a tile index, including constructing an index for all tiles in the layer pyramid where the display view is located, and determining whether the tiles are in the display view area. Executing a fourth module if yes, otherwise not refreshing the display view;
a fourth module, configured to load image blocks, including loading corresponding image blocks in the ROM into the RAM according to the tile index information;
and a fifth module for refreshing the display view, including refreshing a corresponding region of the tile index information corresponding to the display view with the shadow block in the RAM.
On the other hand, the invention also provides a rapid display system of the ultra-large format remote sensing image, which comprises a processor and a memory, wherein the memory is used for storing program instructions, and the processor is used for calling the storage instructions in the memory to execute the rapid display method of the ultra-large format remote sensing image.
On the other hand, the invention also provides a rapid display system of the ultra-large format remote sensing image, which comprises a readable storage medium, wherein the readable storage medium is stored with a computer program, and the rapid display method of the ultra-large format remote sensing image is realized when the computer program is executed.
Compared with the prior art, the invention has the advantages that:
(1) The method constructs the image pyramid by adding data at the tail of the original image ROM address, permanently constructs the image pyramid while keeping the source data unchanged with minimum ROM overhead, avoids the overhead of constructing the pyramid when reading the image every time, and does not generate additional pyramid files;
(2) The method only loads the image blocks within the display window range into the RAM, and hundreds of GB data cannot be loaded into the RAM at one time, so that the occupation of the RAM is reduced;
(3) According to the method, the display view and the image loading are respectively arranged in different threads, so that the phenomenon of blocking during zooming and roaming of the image is avoided, and the efficient display of the ultra-large-format remote sensing image is realized.
Drawings
FIG. 1 is a schematic diagram of a method according to an embodiment of the present invention;
FIG. 2 is a flow chart of image pyramid construction in the method of the present invention;
FIG. 3 is a schematic diagram of a display window constructed in a method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of constructing a tile index in a method according to an embodiment of the present invention;
FIG. 5 is a diagram of a method for determining whether a tile is within a display window according to an embodiment of the present invention;
FIG. 6 is a schematic diagram showing interaction between a display window thread and an image loading thread in the method according to the embodiment of the present invention;
FIG. 7 is a schematic diagram of a block update display window according to an embodiment of the method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings and examples. The components in the drawings are not necessarily to scale, emphasis instead being placed upon clearly illustrating the various components of the invention.
As shown in fig. 1, an embodiment of the present invention provides a method for displaying an ultra-large format remote sensing image at a high speed, including the following steps:
s1, creating an image pyramid: defining a pyramid resampling list, and constructing an image pyramid in a manner of adding data to the ROM (address end;
in the step S1, the pyramid image resampling list includes two pieces of information of the number of pyramid layers and the corresponding resampling multiplying power; the pyramid image parameters are continuously stored at the tail of the ROM address of the image, original image data are not destroyed, and a new file for maintaining pyramid image information is not generated.
The TIFF format is a general image storage format in the remote sensing field due to the advantage of lossless image storage, and the image storage in the embodiment is preferably implemented by using the format.
As shown in fig. 1, in the first step of the embodiment of the present invention, a pyramid is constructed on an input remote sensing image, and a preferred implementation process is shown in fig. 2;
s1-1, acquiring an address of a remote sensing image in ROM and calculating the size of the ROM occupied by the image;
s1-2, loading the remote sensing image in the ROM into the RAM by the partition, creating a pyramid attribute information list containing the number of pyramid layers and the corresponding resampling multiplying power of each layer, judging whether the scaling factor scale is in the pyramid attribute information list, executing S1-3 if yes, and exiting if not;
s1-3 resampling the image block in the RAM to be original
S1-4, compressing the resampled image, and calculating the size of the compressed image;
s1-5, updating the address originally pointed to by the image head as follows: ROM image head address + image size + stored resampled and compressed image block size;
s1-6 stores the pyramid tile image after resampling and compressing at the new address.
S2, constructing a display view and initializing: acquiring screen physical information, creating an empty display view, and initializing the display view by using the topmost pyramid image;
as shown in fig. 1, the second step of the embodiment of the present invention is to construct and initialize a display view, and the implementation procedure preferably adopted is as shown in fig. 3:
s2-1, constructing a display view by taking the screen width and the height as parameters, and dividing the display view into N independent blocks;wherein W is s 、H s The dynamically acquired user screen width and height, respectively, tileHeight, tileWidth is the tile width and height, respectively.
S2-2, initializing a display view by using the topmost pyramid image.
In the step S2-1, the display view is not an integral one but divided into a plurality of display units.
S3, building tile indexes: and constructing indexes for all tiles in the pyramid of the layer where the display view is located, and judging whether the tiles are in the region of the display view. If so, step S4 is performed, otherwise the display view is not refreshed.
As shown in fig. 1, the third step of the embodiment of the present invention is to construct an index for the tile, and determine whether the tile is within the display view range, if so, execute step S4, otherwise, not refresh the display view. The implementation procedure preferably employed is illustrated in fig. 5:
s3-1, as shown in FIG. 4, blocks the pyramid image corresponding to the current display view, for example, blocks tile1-tile8 in FIG. 4, and one structure is maintained for each tile, which can be expressed as follows in the implementation:
struct tileInfo{
int level;
int tileNum;
int xStart;
int yStart;
int tileWidth;
int tileHeight}
in the structure, tileNum is the tile number, level is the pyramid layer number, (xStart, yStart) is the upper left corner coordinates of the tile, and tileWidth and tileHeight are the width and height of the tile, respectively.
S3-2, as shown in FIG. 5, judges whether the tile is in the display view range. The dashed lines connecting the four points P1, P2, P3, P4 are the display view, the gray rectangle is the tile within the display view, and the white rectangular tile is outside the display view. In specific implementation, the area formed by tile loaded into RAM is greater than or equal to the display area (display screen).
In the step S3-2, the tile index information includes the pyramid layer number, the tile number, the upper left corner coordinates of the tile, and the size of the tile.
S4, loading an image block: loading corresponding image blocks in the ROM into the RAM according to the tile index information;
in the step S4, the image blocks corresponding to the tile index information are loaded from the ROM to the RAM as required, instead of loading the whole ultra-large format remote sensing image;
as shown in fig. 1, a fourth step of the embodiment of the present invention loads the image blocks within the display view range from the ROM into the RAM.
S5, refreshing the display view: the tile index information is refreshed with the image blocks in RAM corresponding to the respective areas of the display view.
In step S5, the entire view is not refreshed when the display view is refreshed, and only the display unit corresponding to the tile index information is refreshed.
As shown in fig. 1, the fifth step of the embodiment of the present invention refreshes the display view, and renders the image block in the RAM on the designated area of the screen.
The fourth step and the fifth step of the embodiment of the present invention belong to different threads, and in order to clearly express the interaction logic, specific implementation is provided as shown in fig. 6:
s4-1, starting a display window thread, and constructing a display window by taking the width and the height of a screen as parameters;
s4-2, sending tile structure information in the display view to an image loading thread, and waiting for tile data to be returned;
s5-1, positioning a required tile address from a ROM and loading an image block into a RAM;
s5-2, returning the image block corresponding to the tile index to a display view thread, and waiting for new tile structure information to be loaded;
s5-3, refreshing the display view, and rendering the image block in the RAM to a designated area of the screen;
the tiles are loaded and rendered in cycles until the entire display view is full, as shown in FIG. 7. The dashed lines connecting the four points P1, P2, P3, P4 are the display views, the light gray rectangles are tiles within the display view range, the white rectangles are tiles outside the display view range, and the dark gray rectangles are image blocks loaded from the ROM and rendered on the screen.
What is not described in detail in the present specification belongs to the known technology of the person skilled in the art, and can make several deductions or substitutions without departing from the concept of the present invention, and all the deductions or substitutions shall be considered to be within the protection scope of the present invention.
In order to verify the performance of the method of the invention, comparative experiments were carried out here, the specific procedure and results are as follows:
table 1 is the experimental platform information for performing the comparative experiments. Wherein the OS is an operating system; CPU, RAM, ROM is hardware that has an important impact on image loading and release. The total RAM of the experimental platform is 56GB, and the available RAM is 44GB when the experiment is implemented.
Table 1 table of experimental platform information
Table 2 is an experimental image information table, and it can be seen from the table: 1) ROM occupied by the image 1 is far smaller than available RAM; 2) ROM occupied by the image 2 is close to available RAM; 3) The ROM occupied by image 3 is much larger than the available RAM.
Table 2 experimental image information table
Table 3 shows the initial view and the maximum RAM occupation table of different comparison methods, and the table can be seen as follows:
1) In terms of processing oversized image capabilities: both methods of the invention, inpho, arcGIS, QGIS, ENVI, can be loaded correctly, but during zooming, roaming, inpho will gradually fill RAM until it crashes, which may be relevant to Inpho having been sold, and its background has stopped maintenance and update; win10 self-contained picture viewing software can only be used for small-format images; whether PhotoShop can open an oversized image depends on whether the ROM occupied by the image exceeds the available RAM;
2) As for the initial view size: the method has the advantages that the view area is maximum, win10 is provided with software, inpho is minimum, other methods are shielded by columns such as tool bars, and the view size is between 800 multiplied by 800 pixels and 1400 multiplied by 900 pixels;
3) For the initial display view corresponding to the image range: the method, arcGIS, photoShop and Win10 self-contained software all initialize and display views by full-image thumbnails; inpho and ENVI both adopt a strategy of rapidly loading a small image, and the difference is that Inpho loads the upper left corner tile of the image and ENVI loads the center tile of the image; the image range corresponding to the QGIS initial view is not fixed;
4) In terms of maximum RAM occupancy: the RAM occupation of ArcGIS is minimum, and then, the method of the invention comprises the steps of ENVI again, QGIS again and Inpho, photoShop maximum; when the ultra-large image is faced, win10 carries a software prompt that the file is too large to open, and the image is not loaded to the RAM.
TABLE 3 initial views of different methods and maximum RAM occupancy tables
Table 4 is a table of time consuming statistics for different method loads, scales and RAM releases, as follows:
1) In terms of display view initialization time consumption: because the loading area position is not calculated, inpho can load the tiles of 560 x 380 pixels of the upper left corner of the image in real time; because ENVI only calculates the center position of the image to be loaded and loads the tile with 1350 multiplied by 820 pixels in the center area, the time consumption is inferior to Inpho, and the influence of the image size is small; the time consumption for initializing the display view is between ENVI and ArcGIS; along with the increase of the image frame, arcGIS, photoShop, QGIS time consumption is increased sharply, and the QGIS time consumption for initializing the display view is smaller than ArcGIS, but the operations of zooming, roaming and the like of the QGIS after initialization are not Chang Kadu; win10 can only load small-format images;
2) In terms of scaling to full graph consumption: because Inpho seizes, this item is not discussed; since the methods of the present invention, arcGIS, photoShop, win, and their own software all initialize the display view with full-view thumbnails, the above methods take 0 time; the ENVI needs to construct an image pyramid in the process of zooming to the full image, so that the ENVI takes longer time; QGIS scaling to full image time is greatly affected by the image frame;
3) In terms of RAM release time consumption: because Inpho seizes, this item is not discussed; the method is fastest, arcGIS is second, ENVI is second, win10 is provided with software again (but cannot load an oversized image), photoShop is second, and QGIS is slowest.
Table 4 statistics of time spent on image loading, scaling and RAM release for different methods
Table 5 is a pyramid file information table, from which:
1) In terms of generating additional pyramid files: since Inpho, photoShop, win self-contained software adopts a strategy of loading all data into RAM, the method does not generate a new pyramid file locally; ENVI and ArcGIS generate pyramid files in the format of enp and ovr locally respectively; the method constructs the image pyramid by adding data at the tail of the original image ROM address, and does not generate additional pyramid files;
2) Regarding the newly added pyramid file size: the method of the invention requires minimal additional ROM space; the pyramid file generated by ENVI is larger than the pyramid file generated by ArcGIS when loading image 1 and image 2, and the pyramid file generated by ENVI is smaller than the pyramid file generated by ArcGIS when loading image 3, as can be seen from the column "pyramid/original image" of the table, because ENVI dynamically adjusts the ratio of pyramid/original image according to the image size, and the ratio of arcgipyramid/original image is relatively fixed.
Table 5 different methods for generating pyramid file information tables
Table 6 shows the zoom and roaming feeling of the different methods, and it can be seen from the table:
1) In terms of zoom and roam operation somatosensory: besides the slow QGIS, other methods are smooth, but Inpho can be blocked when processing the oversized image;
2) In terms of the picture refresh rate at roaming: since Inpho, photoShop, win is loaded with the whole image into the RAM by the self-contained software, the method can refresh the image in real time; the method adopts the strategy of refreshing the image blocks only in the range of the display window, and realizes the refreshing sense which is inferior to the strategy of loading the whole image into the RAM; arcGIS refreshes faster but with flicker; ENVI refresh is slower; QGIS refresh is slow and very stuck.
Table 6 different methods zoom, roaming body feeling table
The comparative test further demonstrates that: for the rapid display of the ultra-large TIFF format remote sensing image, the comprehensive performance of the method is the best.
In particular, the method according to the technical solution of the present invention may be implemented by those skilled in the art using computer software technology to implement an automatic operation flow, and a system apparatus for implementing the method, such as a computer readable storage medium storing a corresponding computer program according to the technical solution of the present invention, and a computer device including the operation of the corresponding computer program, should also fall within the protection scope of the present invention.
In some possible embodiments, a fast display system of an oversized remote sensing image is provided, which is configured to implement a fast display method of an oversized remote sensing image as described above, including the following modules:
the first module is used for creating an image pyramid, and comprises defining a pyramid image resampling list, and constructing the image pyramid in a mode of adding data at the end of a ROM address of an input image;
the second module is used for constructing and initializing the display view, and comprises the steps of acquiring screen physical information, creating an empty display view and initializing the display view by using the topmost pyramid image;
and a third module, configured to construct a tile index, including constructing an index for all tiles in the layer pyramid where the display view is located, and determining whether the tiles are in the display view area. If yes, the fourth module is instructed to work, otherwise, the display view is not refreshed;
a fourth module for loading image blocks, including loading corresponding image blocks in ROM into RAM according to tile index information;
and a fifth module for refreshing the display view, including refreshing a corresponding region of the tile index information corresponding to the display view with the shadow block in the RAM.
In some possible embodiments, a fast display system of an ultra-large format remote sensing image is provided, including a processor and a memory, the memory is used for storing program instructions, and the processor is used for calling the stored instructions in the memory to execute a fast display method of the ultra-large format remote sensing image.
In some possible embodiments, the fast display system of the ultra-large format remote sensing image includes a readable storage medium, and a computer program is stored on the readable storage medium, and when the computer program is executed, the fast display method of the ultra-large format remote sensing image is implemented.
The specific embodiments described herein are offered by way of example only to illustrate the spirit of the invention. Those skilled in the art may make various modifications or additions to the described embodiments or substitutions thereof without departing from the spirit of the invention or exceeding the scope of the invention as defined in the accompanying claims.

Claims (10)

1. The quick display method of the ultra-large format remote sensing image is characterized by comprising the following steps of:
s1, creating an image pyramid, wherein the image pyramid comprises defining a pyramid image resampling list, and constructing the image pyramid in a mode of adding data at the end of a ROM address of an input image;
s2, constructing and initializing a display view, including acquiring screen physical information, creating an empty display view, and initializing the display view by using a topmost pyramid image;
s3, constructing tile indexes, namely constructing indexes for all tiles in a pyramid of a layer where the display view is located, judging whether the tiles are in the region of the display view, if so, executing a step S4, otherwise, not refreshing the display view;
s4, loading the image blocks, namely loading the corresponding image blocks in the ROM into the RAM according to the tile index information;
s5, refreshing the display view, wherein refreshing the tile index information corresponding to the corresponding area of the display view by using the image block in the RAM.
2. The method for rapidly displaying the ultra-large format remote sensing image according to claim 1, wherein the method comprises the following steps: in the step S1, the pyramid image resampling list includes two pieces of information of the number of pyramid layers and the corresponding resampling multiplying power; the pyramid image parameters are continuously stored at the tail of the ROM address of the image, original image data are not destroyed, a new file for maintaining pyramid image information is not generated, and the implementation mode is as follows:
(1) Acquiring an address of a remote sensing image in the ROM and calculating the ROM size occupied by the data;
(2) The remote sensing images in the ROM are loaded into the RAM by the partitioning, a pyramid attribute information list containing the number of pyramid layers and the corresponding resampling multiplying power of each layer is created, whether scaling factors scale are in the pyramid attribute information list is judged, if yes, the step (3) is executed, and if not, the step (3) is exited;
(3) Resampling the image block in RAM to original
(4) Compressing the resampled image block and calculating the size of the compressed image block;
(5) Updating the address originally pointed to by the image head is as follows: ROM image head address + image size + stored resampled and compressed image block size;
(6) The images after resampling and compressing are continuously stored at the new address.
3. The method for rapidly displaying the ultra-large format remote sensing image according to claim 1, wherein the method comprises the following steps: in the step S2, the display view is not an integral one but divided into a plurality of display units; and loading the topmost pyramid image in the initialization process.
4. The method for rapidly displaying the ultra-large format remote sensing image according to claim 1, wherein the method comprises the following steps: in the step S3, the index information of the tile includes a pyramid layer number, a tile number, an upper left corner coordinate of the tile, and a size of the tile.
5. The method for rapidly displaying an oversized remote sensing image according to claim 1, 2, 3 or 4, wherein the method comprises the steps of: in the step S4, the image block corresponding to the tile index information is loaded from the ROM to the RAM as required, instead of loading the entire ultra-large format remote sensing image.
6. The method for rapidly displaying the ultra-large format remote sensing image according to claim 5, wherein the method comprises the following steps: in step S5, the entire view is not refreshed when the display view is refreshed, but only the display unit corresponding to the tile index information is refreshed.
7. The method for rapidly displaying ultra-large format remote sensing images according to claim 6, wherein the loading and displaying of the image blocks belong to different threads, and the image blocks are realized in the following manner from loading to displaying:
(1) Starting a display window thread, and acquiring screen physical information to construct a display window;
(2) Transmitting tile structure information in the display window to a data loading thread, and waiting for tile data to be returned;
(3) Positioning the required tile address from ROM and loading the image block into RAM;
(4) Returning the image block to the display window thread, and waiting for new tile structure information to be loaded;
(5) Refreshing the display view, and rendering the image blocks in the RAM to a designated area of the screen.
8. A quick display system of ultra-large format remote sensing image is characterized in that: the method for realizing the rapid display of the ultra-large format remote sensing image according to any one of claims 1-7, comprising the following modules:
the first module is used for creating an image pyramid, and comprises defining a pyramid image resampling list, and constructing the image pyramid in a mode of adding data at the end of a ROM address of an input image;
the second module is used for constructing and initializing the display view, and comprises the steps of acquiring screen physical information, creating an empty display view and initializing the display view by using the topmost pyramid image;
and a third module, configured to construct a tile index, including constructing an index for all tiles in the layer pyramid where the display view is located, and determining whether the tiles are in the display view area. Executing a fourth module if yes, otherwise not refreshing the display view;
a fourth module, configured to load image blocks, including loading corresponding image blocks in the ROM into the RAM according to the tile index information;
and a fifth module for refreshing the display view, including refreshing a corresponding region of the tile index information corresponding to the display view with the shadow block in the RAM.
9. A quick display system of ultra-large format remote sensing image is characterized in that: the method comprises a processor and a memory, wherein the memory is used for storing program instructions, and the processor is used for calling the stored instructions in the memory to execute the rapid display method of the ultra-large format remote sensing image according to any one of claims 1-7.
10. A quick display system of ultra-large format remote sensing image is characterized in that: the method comprises a readable storage medium, wherein a computer program is stored on the readable storage medium, and the computer program realizes the rapid display method of the ultra-large format remote sensing image according to any one of claims 1-7 when being executed.
CN202311605945.1A 2023-11-29 2023-11-29 Method and system for rapidly displaying ultra-large remote sensing image Pending CN117648067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311605945.1A CN117648067A (en) 2023-11-29 2023-11-29 Method and system for rapidly displaying ultra-large remote sensing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311605945.1A CN117648067A (en) 2023-11-29 2023-11-29 Method and system for rapidly displaying ultra-large remote sensing image

Publications (1)

Publication Number Publication Date
CN117648067A true CN117648067A (en) 2024-03-05

Family

ID=90045926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311605945.1A Pending CN117648067A (en) 2023-11-29 2023-11-29 Method and system for rapidly displaying ultra-large remote sensing image

Country Status (1)

Country Link
CN (1) CN117648067A (en)

Similar Documents

Publication Publication Date Title
US7626587B1 (en) Method and apparatus for displaying image data of a virtual desktop from one or more frame buffers onto a display screen
US5943679A (en) Multi-page document viewer having a focus image and recursively nested images of varying resolutions less than the resolution of the focus image
JP5015208B2 (en) Method and electronic apparatus for displaying split screen on display
TWI381364B (en) Method for image processing and article comprising a machine-accessible medium having stored thereon instructions
EP2330587B1 (en) Image processing device and image processing method
US7053905B2 (en) Screen display processing apparatus, screen display processing method and computer program
EP2790177A1 (en) Image processing apparatus and image processing method
EP0895187A2 (en) A method for scaling an image
JP5616223B2 (en) System and method for capturing digital images
US20120189221A1 (en) Image File Generation Device, Image Processing Device, Image File Generation Method, And Image Processing Method.
JPH11195132A (en) Buffer for texture mapping and three-dimensional graphics processor and system therefor and method therefor and storage medium for storing processing program
US7742636B2 (en) Method and apparatus for scaling down a bayer domain image
US9646362B2 (en) Algorithm for improved zooming in data visualization components
US9501812B2 (en) Map performance by dynamically reducing map detail
KR100860673B1 (en) Apparatus and method for generating image to generate 3d image
CN117648067A (en) Method and system for rapidly displaying ultra-large remote sensing image
US20080055286A1 (en) Method And Apparatus For Displaying Bitmap Images
CN114969409A (en) Image display method and device and readable medium
CN107506119A (en) A kind of image display method, device, equipment and storage medium
JP4534205B2 (en) Image display device
JP2007028478A (en) Image display apparatus
CN114020231B (en) User interface display method and device
JPS6384259A (en) Picture retrieving device
CN115455320A (en) Cross table rendering method and device and storage medium
CN115827136A (en) Multi-screen page response type layout method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination