CN106599119A - Image data storage method and apparatus - Google Patents
Image data storage method and apparatus Download PDFInfo
- Publication number
- CN106599119A CN106599119A CN201611089352.4A CN201611089352A CN106599119A CN 106599119 A CN106599119 A CN 106599119A CN 201611089352 A CN201611089352 A CN 201611089352A CN 106599119 A CN106599119 A CN 106599119A
- Authority
- CN
- China
- Prior art keywords
- image data
- target
- tile
- images
- image
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000013500 data storage Methods 0.000 title abstract description 5
- 238000005520 cutting process Methods 0.000 claims description 34
- 238000003860 storage Methods 0.000 claims description 20
- 238000012952 Resampling Methods 0.000 claims description 17
- 239000000284 extract Substances 0.000 claims description 7
- 238000013075 data extraction Methods 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 15
- 238000004590 computer program Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 238000012876 topography Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/5866—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Software Systems (AREA)
- Image Processing (AREA)
Abstract
The embodiments of the invention provide an image data storage method and apparatus. The method comprises the steps of acquiring a plurality of images; generating image data according to the images; extracting target image data with a specified resolution from the image data; for the target image data, generating a tile image, wherein the tile image has corresponding image information; and storing the tile image and the corresponding image information. According to the method and the apparatus, the tile images with the corresponding resolutions can be stored according to actual demands, and when the image data is used, the tile images with the corresponding resolutions can be found out according to different usage demands, so that the usage requirements of different fields on the image data with different resolutions are met.
Description
Technical field
The application is related to technical field of data storage, the storage method and a kind of image of more particularly to a kind of image data
The storage device of data.
Background technology
At present, Map Services are had been widely used in the work and life of people, for example, road guide, location finding
Etc..By the data publication for getting on network, user can be by browser or special application for mapping service provider
Program software accesses map server, obtains map datum, and then is illustrated in PC (personal computer, individual calculus
Machine) or handheld device on.
Generally, the precision maximum of the map datum that mapping service provider is provided can reach meter level, be taken by map
Business, user can inquire about the geographical position of street, market, building, it is also possible to find neighbouring all restaurants, school, bank, public affairs
Garden etc., disclosure satisfy that the daily demand of people substantially.But, in some special dimensions, for example, unmanned plane plant protection field, by
In the restriction in operation field, and in order to ensure the job safety of plant protection unmanned plane, the data precision of meter level is then far from enough, because
This, needs to gather higher precision, the map datum of higher resolution.
But, higher precision, the map datum of higher resolution often mean that bigger data volume, for example, for height
The image of resolution, the size of the data of single image even can reach several G (gigabyte, GB), this number
Almost it is close with the internal memory of customary personal computer according to amount, cannot directly stores at all and show.
The content of the invention
In view of the above problems, it is proposed that the embodiment of the present application overcomes the problems referred to above or at least in part to provide one kind
A kind of storage method of the image data for solving the above problems and a kind of corresponding storage device of image data.
In order to solve the above problems, the embodiment of the present application discloses a kind of storage method of image data, including:
Gather multiple images;
According to described multiple images, image data is generated;
The target image data with given resolution are extracted from the image data;
For the target image data, tile images are generated, the tile images have corresponding image information;
Store the tile images and its corresponding image information.
Alternatively, it is described extract from the image data with given resolution target image data the step of wrap
Include:
Resampling is carried out to the image data, the target image data with given resolution are obtained.
Alternatively, it is described for the target image data, include the step of generate tile images:
Determine the zero of the target image data;
It is multiple tile images by target image data cutting from the beginning of the zero.
Alternatively, the tile images have default Pixel Dimensions size, described from the beginning of the zero, by institute
Stating the step of the cutting of target image data is multiple tile images includes:
By the target image data cutting it is with identical pixel according to preset rules from the beginning of the zero
Multiple tile images of size.
Alternatively, the corresponding image information of the tile images includes:The corresponding pixel coordinate of the tile images, row are compiled
Number, column number, picture level, picture format, and, pixel resolution.
Alternatively, also include:
Represent the corresponding target tile image of current display area.
Alternatively, it is described to include the step of represent current display area corresponding target tile image:
The corresponding target tile image of current display area is extracted from the tile images;
Represent the target tile image in display system is specified.
Alternatively, it is described the step of the corresponding target tile image of current display area is extracted from the tile images
Including:
According to the displaying ratio coefficient for specifying display system current, Target Photo level is determined;
Calculate current display area corresponding target line number and column number in the Target Photo level;
Extract the target line number and the corresponding target tile image of column number.
Alternatively, the calculating current display area corresponding target line number and row in the Target Photo level are compiled
Number the step of include:
Determine the coordinate figure on multiple summits of current display area and the coordinate of the corresponding image data of the tile images
Origin;
The coordinate figure on the plurality of summit and the difference of the zero are calculated respectively;
Using the pixel coordinate of current display area described in the mathematic interpolation;
According to the pixel coordinate, the target line number and column number are determined.
Alternatively, the image data has corresponding coordinate information, in multiple images described in the foundation, generates image
After the step of data, also include:
The coordinate information of the image data is converted, the image data with specified coordinate information is obtained.
In order to solve the above problems, the embodiment of the present application discloses a kind of storage device of image data, including:
Image capture module, for gathering multiple images;
Image data generation module, for according to described multiple images, generating image data;
Target image data extraction module, for extracting the target shadow with given resolution from the image data
As data;
Tile images generation module, for for the target image data, generating tile images, the tile images tool
There is corresponding image information;
Memory module, for storing the tile images and its corresponding image information.
Alternatively, the target image data extraction module includes:
Target image data extracting sub-module, for carrying out resampling to the image data, obtains to have and specifies resolution
The target image data of rate.
Alternatively, the tile images generation module includes:
Determination sub-module, for determining the zero of the target image data;
Cutting submodule, is multiple tile figures by target image data cutting for from the beginning of the zero
Picture.
Alternatively, the tile images have default Pixel Dimensions size, and the cutting submodule includes:
Cutting unit, for from the beginning of the zero, being by the target image data cutting according to preset rules
Multiple tile images with identical Pixel Dimensions size.
Alternatively, the corresponding image information of the tile images includes:The corresponding pixel coordinate of the tile images, row are compiled
Number, column number, picture level, picture format, and, pixel resolution.
Alternatively, also include:
Target tile picture showing module, for representing the corresponding target tile image of current display area.
Alternatively, the target tile picture showing module includes:
Target tile image zooming-out submodule, for extracting the corresponding mesh of current display area from the tile images
Mark tile images;
Target tile picture showing submodule, for representing the target tile image in display system is specified.
Alternatively, the target tile image zooming-out submodule includes:
Target Photo level determining unit, for according to the displaying ratio coefficient for specifying display system current, determining target
Picture level;
Target line number and column number computing unit, it is right in the Target Photo level for calculating current display area
The target line number answered and column number;
Target tile image extraction unit, for extracting the target line number and the corresponding target tile figure of column number
Picture.
Alternatively, the target line number and column number computing unit include:
Determination subelement, the coordinate figure and the tile images for determining multiple summits of current display area is corresponding
The zero of image data;
Mathematic interpolation subelement, for calculating the coordinate figure on the plurality of summit and the difference of the zero respectively;
Pixel coordinate computation subunit, for using the pixel coordinate of current display area described in the mathematic interpolation;
Target line number and column number determination subelement, for according to the pixel coordinate, determining the target line number
And column number.
Alternatively, the image data has corresponding coordinate information, and described device also includes:
Conversion module, for converting the coordinate information of the image data, obtains the image number with specified coordinate information
According to.
Compared with background technology, the embodiment of the present application includes advantages below:
The embodiment of the present application, by gathering multiple images, and according to described multiple images, generates image data, Ran Houcong
The target image data with given resolution are extracted in the image data, such that it is able to be directed to the target image number
According to, tile images are generated, the tile images have a corresponding image information, and then store tile images and its corresponding
Image information, enabling store the tile images of corresponding resolution according to the actual requirements, and when using image data, can be with
According to different use demands, the tile images of corresponding resolution are found out, meet shadow of the different field to different resolution
As the use requirement of data.
Description of the drawings
The step of Fig. 1 is a kind of storage method embodiment one of image data of the application flow chart;
The step of Fig. 2 is a kind of storage method embodiment two of image data of the application flow chart;
Fig. 3 is a kind of structured flowchart of the storage device embodiment of image data of the application.
Specific embodiment
It is understandable to enable the above-mentioned purpose of the application, feature and advantage to become apparent from, it is below in conjunction with the accompanying drawings and concrete real
Apply mode to be described in further detail the application.
With reference to Fig. 1, show the application a kind of image data storage method embodiment one the step of flow chart, specifically
May include steps of:
Step 101, gathers multiple images;
In the embodiment of the present application, multiple images can gather acquisition by way of satellite shoots, and for example, pass through
Satellite too aerial reconnaissance earth earth's surface object to the reflection of electromagnetic wave and its transmitting electromagnetic wave, so as to extract these objects
Information, complete to recognize object at a distance;Can also be that acquisition is gathered by aerophotographic mode, for example, by taking photo by plane
Aircraft is shot so as to obtain multiple images.The embodiment of the present application is not construed as limiting to the concrete mode for gathering image.
In the application is implemented, gathering multiple images for obtaining can include the information such as shooting coordinate, camera attitude, institute
State and shoot the coordinate that coordinate may refer to the camera when shooting, that is, the information of the camera site corresponding to image for obtaining is described
Camera attitude may refer to the information such as the parameter of camera, such as information such as f-number, time of exposure, focal length, the embodiment of the present application
This is not construed as limiting.
Step 102, according to described multiple images, generates image data;
In the embodiment of the present application, the image data may refer to be synthesized the single image for obtaining by multiple images.Example
Such as, for multiple images for gathering in a step 101, after aerial triangulation technical finesse, can be by above-mentioned multiple figures
As synthesizing a digital orthoimage.Typically for the image data that 150 left images synthesis are obtained, its size of data
About 1G.
Aerial triangulation technology is in stereophotogrammetric survey, according to a small amount of field control point, to be controlled indoors
Point encryption, tries to achieve the elevation of pass point and the measuring method of plan-position.Digital orthoimage (the Digital
Orthophoto Map) it is that one by one pixel is carried out Jing using digitized airphoto of the digital elevation model to scan process
Height displacement corrects, then by image mosaic, according to figure amplitude range the image data of generation is cut out.
Generally, image data includes corresponding coordinate information, and the coordinate information is the coordinate system specified at certain
The information of the coordinate under system, such as wgs-84 coordinate systems (World Geodetic System-1984Coordinate
System).The wgs-84 coordinate systems are a kind of geocentric coordinate systems widely used in the world, and its zero is earth matter
The heart, the Z axis of its earth's core rectangular coordinate system in space point to BIH (Bureau International de I ' Heure, international time
Service organization) 1984.0 agreement earth pole (CTP) directions for defining, zero meridian plane of X-axis sensing BIH 1984.0 and CTP equator
Intersection point, Y-axis and Z axis, X-axis be vertically formed right-handed coordinate system, and wgs-84 coordinate systems are referred to as World Geodesic Coordinate System 1984
System.
But, may need image data and other data in actual applications, such as vector data is overlapped aobvious
Show, and other data are possibly using the data of other coordinate system, such as UTM systems (Universal transverse
Mercartor grid system, Universal Trans Meridian grid system).The UTM systems are a kind of plane rectangular coordinates, this
The projection for planting coordinate axiom system and its institute's foundation is widely used for topography, used as satellite image and natural resourcess data base
Grid of reference and require in pinpoint other application.
Therefore, after the embodiment of the present application is the step of multiple images described in the foundation, generation image data, can also wrap
Include following steps:
The coordinate information of the image data is converted, the image data with specified coordinate information is obtained.
In the embodiment of the present application, it is preferably aobvious in order to reach when display is overlapped to image data and other data
Show effect, can be by the data processing under different coordinate systems under the same coordinate system.For example, by under wgs-84 coordinate systems
Image data, after treatment, output obtain UTM systems image data.Certainly, those skilled in the art can be according to reality
Border is it needs to be determined that the specific coordinate system for needing to change, for example, by the image data of UTM systems wgs-84 coordinate systems are transformed to
Under image data or the data under other coordinate systems, the embodiment of the present application is not construed as limiting to this.
Step 103, extracts the target image data with given resolution from the image data;
Generally, the usual data volume of image data is than larger, especially high resolution image, and individual size of data can reach
Several G, this data volume is close to customary personal computer's internal memory, it is impossible to directly display.Therefore, in the embodiment of the present application
In, after image data is obtained, can be extracted from the image data with specified resolution according to actual application needs
The target image data of rate.
In implementing, resampling can be carried out to the image data, so as to obtain the mesh with given resolution
Mark image data.
The resampling (resampling) is exactly the mistake for going out another kind of picture dot information according to the message interpolation of a class picture dot
Journey, specifically, resampling is a kind of process that low resolution image is extracted from high resolution image.
For example, for resolution is the raw video data of 10000*10000, resampling is being carried out to the initial data
Afterwards, the data that resolution is 5000*5000 are obtained, it is believed that the latter is the former thumbnail, loses parts of images details,
But data volume has been reduced to original 1/4, in the same manner, if generating data of the resolution for 100*100 by resampling, then number
The 1/10000 of raw video data can be just reduced to according to amount, for the image data of 1G sizes, its data volume will be simplified
To about 100kb (kilobytes).
Therefore, in actual applications, when resampling is carried out to raw video data, many parts of different resolutions can be generated
Target image data, for example, can be based on resolution for 10000*10000 raw video data, generate resolution difference
For the target image data of 5000*5000,2000*2000,1000*1000,500*500,200*200 or 100*100, supply not
Same display yardstick is used.
Step 104, for the target image data, generates tile images, and the tile images have corresponding image
Information;
Tile (Tile), refers to a range of map according to certain size and form, by level of zoom or
Scale, is cut into the square grid picture of some row and columns, and the square grid picture after section is becomes tile.
In implementing, after the target image data for generating given resolution, the target shadow can be first determined
It is multiple tile images by target image data cutting then from the beginning of the zero as the zero of data.
For example, can be with the lower left corner (B0, L0) of selected target image data for zero, then according to certain pixel
Size carries out cutting to the target image data, so as to obtain multiple tile images.Certainly, those skilled in the art go back
Other positions can be selected as the zero of target image data, for example, selection target image data according to practical situation
The upper left corner, the upper right corner, the lower right corner or central point as zero, the embodiment of the present application is not construed as limiting to this.
After being multiple tile images by the cutting of target image data, it may be determined that go out the corresponding image of every tile images
Information, such as the corresponding pixel coordinate of described tile images, line number, column number, picture level, picture format, and, pixel point
Resolution etc..
When many parts of target image data are generated when resampling is carried out to original image data, the picture level is then
The corresponding level of the target image data, the pixel resolution is then the corresponding resolution of target image data.For example, exist
Resampling is carried out for the raw video data of 10000*10000 to resolution, resolution is generated and is respectively 5000*5000,2000*
2000th, 1000*1000,500*500,200*200 and 100*100 are corresponding to resolution after totally six parts of target image data
The picture level of the target image data of 100*100 is 6.
Further, cutting is being carried out to target image data according to certain Pixel Dimensions size, is obtaining multiple tiles
Can be in a certain order that every tile images are numbered after image so that every tile images have a row to compile
Number and column number, at the same time it can also the Pixel Dimensions size adopted according to the pixel size of target image data and cutting,
The corresponding pixel coordinate of each tile images is calculated respectively.
Step 105, stores the tile images and its corresponding image information.
In implementing, the tile images and its corresponding image information write file that can be obtained cutting are deposited
Storage.
For example, the image information of storage can specifically include following content:
Rank:5 (representing the level that current tile image is located);
Picture line number:100 (representing that current level has 100 row tiles);
Picture columns:200 (representing that current level has 200 row tiles);
Picture format:Png (tile images storage format);
Pixel resolution:0.01 (represents the size on the spot that pixel wide is represented, dimensional units on the spot in present exemplary
For degree, therefore, pixel wide represents 0.01 degree on the spot of length);
Scale:0.01 (i.e. 1:0.01, that is, it is 1 to scheme upper size with the ratio of size on the spot:0.01.
Further, when storing to tile images, the entirety corresponding to current impact data can also be included
Data message, for example:
Image data number of levels:20 (indicating 20 layers of tile);
Scope of data:(23 ° 58 ' 3 ", and 113 ° 30 ' 50 ") (24 ° 58 ' 3 ", 114 ° 30 ' 50 ");
Origin:23 ° 58 ' 3 ", 113 ° 30 ' 50 ";
Tile is high:256 (representing the pixels tall of tile images);
Tile width:256 (representing the pixel wide of tile images);
Spatial frame of reference (adopts OGC canonical representation modes):
GEOGCS [" WGS 84 ", DATUM [" WGS_1984 ", SPHEROID [" WGS 84 ", 6378137,
298.257223563, AUTHORITY [" EPSG ", " 7030 "]], AUTHORITY [" EPSG ", " 6326 "]], PRIMEM ["
Greenwich ", 0, AUTHORITY [" EPSG ", " 8901 "]], UNIT [" degree ", 0.01745329251994328,
AUTHORITY [" EPSG ", " 9122 "]], AUTHORITY [" EPSG ", " 4326 "]].
Certainly, those skilled in the art can also select its of stored images data and tile images according to actual needs
His information, the embodiment of the present application is not construed as limiting to this.
In the embodiment of the present application, methods described can also comprise the steps:
Represent the corresponding target tile image of current display area.
In the embodiment of the present application, when user needs to check the image of a certain viewing area, can from stored watt
The corresponding target tile image of the viewing area is found out in picture, so as to by the target tile picture showing to user.
In implementing, can be according to the displaying ratio coefficient of user's current selected, for example, on map, Yong Hutong
Cross displaying ratio coefficient determined by zoom control, it is first determined go out and the Target Photo layer corresponding to the displaying ratio coefficient
Level, and then target tile image corresponding with current display area is found out from the Target Photo level.
In the embodiment of the present application, by gathering multiple images, and according to described multiple images, image data is generated, so
The target image data with given resolution are extracted from the image data afterwards, such that it is able to be directed to the target image
Data, generate tile images, and the tile images have corresponding image information, and then store the tile images and its correspondence
Image information, enabling store the tile images of corresponding resolution according to the actual requirements, and when using image data, can
According to different use demands, to find out the tile images of corresponding resolution, different field is met to different resolution
The use requirement of image data.
With reference to Fig. 2, show the application a kind of image data storage method embodiment two the step of flow chart, specifically
May include steps of:
Step 201, gathers multiple images;
In the embodiment of the present application, multiple images can be satellite shoot by way of gather acquisition, or
Obtained by aeroplane photography or other modes collection, the embodiment of the present application is not construed as limiting to this.
In the application is implemented, gathering multiple images for obtaining can include the information such as shooting coordinate, camera attitude, example
The information of the camera site as corresponding to the image for obtaining, shoots the information such as used f-number, time of exposure, focal length.
Step 202, according to described multiple images, generates image data;
In the embodiment of the present application, after collection obtains multiple images, for example, the image of 150 or so can will be above-mentioned
150 left images all synthesize a digital orthoimage.According to the size and the difference of quantity of image, the image of acquisition
The data volume of data also can be different, for example, the image data that common 150 left images synthesis is obtained, its size of data is about
For 1G.
Meanwhile, the embodiment of the present application, can be with according to the actually used need in different application field after image data is generated
Ask, the image data under current coordinate system is transformed to into the image data under other coordinate systems, for example, by wgs-84 coordinate systems
Under image data be transformed to the image data of UTM systems or other coordinate systems under image data.
Further, after image data is generated, as needed other classes can also be added in existing image data
The data of type, for example, vector data, the embodiment of the present application is not construed as limiting to this.
Step 203, resampling is carried out to the image data, obtains the target image data with given resolution;
Generally, the image data for being generated according to multiple images, its data volume is larger, for convenience different application demands,
The many parts of target shadows with different resolution can be generated by way of resampling, on the basis of original image data
As data, use for different display yardsticks.
The target image data may be considered the thumbnail of raw video data, although lose parts of images thin
Save, but its data volume is also consequently reduced, for example, for raw video data and resolution that resolution is 10000*10000
Rate is the target image data of 5000*5000, and the data volume of the target image data has been reduced to the number of raw video data
According to the 1/4 of amount.
Step 204, determines the zero of the target image data;
In implementing, can be with the lower left corner (B0, L0) of selected target image data for zero, certainly, ability
Field technique personnel for example, can be selected with according to practical situation, selecting other positions as the zero of target image data
, used as zero, the embodiment of the present application is not limited this for the upper left corner of target image data, the upper right corner, the lower right corner or central point
It is fixed.
Step 205, is multiple tile images by target image data cutting from the beginning of the zero, described
Tile images have corresponding image information;
Generally, the Pixel Dimensions size of the tile images after cutting can be set, for example, 256*256, then from the seat
Mark origin starts, and by the target image data cutting is multiple watts with identical Pixel Dimensions size according to preset rules
Picture.
In implementing, can start from lower left corner zero (B0, L0), the Pixel Dimensions according to 256*256 are big
It is little that target image data are carried out with cutting, and the tile after cutting is numbered according to order from left to right, from top to bottom,
And use the pixel row, column coordinate of the formal notation tile images of (x, y).For example, for raw video layer I1, numbering be (0,
0) tile pixel coordinate on the original image is for (0,0), (255,255), numbering is that (1, tile 0) is on the original image
Pixel coordinate for (256,0), (511,255), numbering be (2, tile 1) pixel coordinate on the original image for (512,
256), (767,511), it is (256* (m-1), 256* (n- that numbering is the tile pixel coordinate on the original image of (m, n)
1)), (256*m-1,256*n-1), wherein, m, n>0.Such that it is able to the raw video data of 10000*10000 are cut into
The small data (tile images) of 10000 100*100, under specified coordinate system, can accurately calculate the seat of each pixel
Mark, and then can be pin-pointed to per the tile images opened after cutting.
Step 206, stores the tile images and its corresponding image information;
In implementing, the tile images and its corresponding image information write file that can be obtained cutting are deposited
Storage.
It should be noted that image data can be directly processed into local cache in the embodiment of the present application, via file
The modes such as copy are sent on the electronic equipments such as mobile terminal and use, it is to avoid flow consumption huge caused by line model.
Step 207, extracts the corresponding target tile image of current display area from the tile images;
It is described that current display area correspondence is extracted from the tile images in a preferred embodiment of the present application
Target tile image the step of can specifically include following sub-step:
Sub-step 2071, according to the displaying ratio coefficient for specifying display system current, determines Target Photo level;
In the embodiment of the present application, the displaying ratio coefficient can user select, for example, user is in a computer
By displaying ratio coefficient determined by zoom control, or the displaying ratio system being adapted with current display system
Number, the embodiment of the present application is not construed as limiting to this.
After displaying ratio coefficient is determined, the target figure corresponding with the displaying ratio coefficient is may further determine that
As level.
For example, resampling is being carried out for the raw video data of 10000*10000 to resolution, is generating resolution and be respectively
5000*5000,2000*2000,1000*1000,500*500,200*200 and 100*100 be after totally six parts of target image data,
If current displaying ratio coefficient is 1/2, it is considered that corresponding target image level is resolution is 5000*5000's
Image level corresponding described in target image.
Sub-step 2072, calculates current display area corresponding target line number and row in the Target Photo level and compiles
Number;
In implementing, the coordinate figure and the tile images on multiple summits of current display area can be first determined
The zero of corresponding image data, for example, the apex coordinate value of current display area is (b0, l0), and zero is
(ox, oy).
It is then possible to calculate the coordinate figure and the difference of the zero on the plurality of summit respectively, that is, calculate:b0′
=b0-ox;L0 '=l0-oy;
And then can be calculated using the pixel coordinate of current display area described in the mathematic interpolation:Rx0=b0 '/r;
Ry0=l0 '/r;
After above-mentioned pixel coordinate (Rx0, Ry0) is obtained, the target line number can be determined according to the pixel coordinate
And column number.
Specifically, when tile length and width is 256 pixel, line number and column number are:Row0=Rx0/256;
Col0=Ry0/256;
Therefore, target tile image is (Row0, Col0) corresponding tile images.
It should be noted that the corresponding target tile image of current display area often not just one tile images,
But multiple tile images in a region, therefore, it can the actual size according to current display area, determine correspondence
In the range of multiple target tile images, the embodiment of the present application is not construed as limiting to this.
Sub-step 2073, extracts the target line number and the corresponding target tile image of column number.
Step 208, in display system is specified the target tile image is represented.
After current display area corresponding target tile image is extracted, just can be by the target tile picture showing
To user.
In the embodiment of the present application, image data can be set with Jing after processing, being sent to move via modes such as file copies
Use on standby, it is to avoid huge flow consumption caused by line model, meanwhile, in the tile images required for extracting, can be with
According to the displaying ratio coefficient of display system, it is first determined corresponding target image level, and then according to current display area
Coordinate figure, calculates the line number and column number of target tile data, so as to pass through to search line number and column number extract it is right
Answer the target tile image of position and represent so that user can determine the tile of corresponding resolution according to actual displayed demand
Image, improves the efficiency for searching target tile image.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it to be all expressed as a series of action group
Close, but those skilled in the art should know, and the embodiment of the present application is not limited by described sequence of movement, because according to
According to the embodiment of the present application, some steps can adopt other orders or while carry out.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, involved action not necessarily the application is implemented
Example is necessary.
With reference to Fig. 3, a kind of structured flowchart of the storage device embodiment of image data of the application is shown, specifically can be with
Including such as lower module:
Image capture module 301, for gathering multiple images;
Image data generation module 302, for according to described multiple images, generating image data;
Target image data extraction module 303, for extracting the mesh with given resolution from the image data
Mark image data;
Tile images generation module 304, for for the target image data, generating tile images, the tile figure
As having corresponding image information;
Memory module 305, for storing the tile images and its corresponding image information.
In the embodiment of the present application, the target image data extraction module 303 can specifically include following submodule:
Target image data extracting sub-module, for carrying out resampling to the image data, obtains to have and specifies resolution
The target image data of rate.
In the embodiment of the present application, the tile images generation module 304 can specifically include following submodule:
Determination sub-module, for determining the zero of the target image data;
Cutting submodule, is multiple tile figures by target image data cutting for from the beginning of the zero
Picture.
In the embodiment of the present application, the tile images can have default Pixel Dimensions size, the cutting submodule
Block specifically can include such as lower unit:
Cutting unit, for from the beginning of the zero, being by the target image data cutting according to preset rules
Multiple tile images with identical Pixel Dimensions size.
In the embodiment of the present application, the corresponding image information of the tile images can include:The tile images correspondence
Pixel coordinate, line number, column number, picture level, picture format, and, pixel resolution.
In the embodiment of the present application, described device can also be included such as lower module:
Target tile picture showing module, for representing the corresponding target tile image of current display area.
In the embodiment of the present application, the target tile picture showing module can specifically include following submodule:
Target tile image zooming-out submodule, for extracting the corresponding mesh of current display area from the tile images
Mark tile images;
Target tile picture showing submodule, for representing the target tile image in display system is specified.
In the embodiment of the present application, the target tile image zooming-out submodule specifically can include such as lower unit:
Target Photo level determining unit, for according to the displaying ratio coefficient for specifying display system current, determining target
Picture level;
Target line number and column number computing unit, it is right in the Target Photo level for calculating current display area
The target line number answered and column number;
Target tile image extraction unit, for extracting the target line number and the corresponding target tile figure of column number
Picture.
In the embodiment of the present application, the target line number and column number computing unit can specifically include that following son is single
Unit:
Determination subelement, the coordinate figure and the tile images for determining multiple summits of current display area is corresponding
The zero of image data;
Mathematic interpolation subelement, for calculating the coordinate figure on the plurality of summit and the difference of the zero respectively;
Pixel coordinate computation subunit, for using the pixel coordinate of current display area described in the mathematic interpolation;
Target line number and column number determination subelement, for according to the pixel coordinate, determining the target line number
And column number.
In the embodiment of the present application, the image data can have corresponding coordinate information, and described device can also be wrapped
Include such as lower module:
Conversion module, for converting the coordinate information of the image data, obtains the image number with specified coordinate information
According to.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, it is related
Part is illustrated referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present application can be provided as method, device or calculate
Machine program product.Therefore, the embodiment of the present application can using complete hardware embodiment, complete software embodiment or with reference to software and
The form of the embodiment of hardware aspect.And, the embodiment of the present application can using wherein include computer at one or more can
With in the computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) of program code
The form of the computer program of enforcement.
The embodiment of the present application is with reference to the method according to the embodiment of the present application, terminal unit (system) and computer program
The flow chart and/or block diagram of product is describing.It should be understood that can be by computer program instructions flowchart and/or block diagram
In each flow process and/or square frame and flow chart and/or the flow process in block diagram and/or square frame combination.These can be provided
Computer program instructions to general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals set
Standby processor is producing a machine so that held by the processor of computer or other programmable data processing terminal equipments
Capable instruction is produced for realizing in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames
The device of the function of specifying.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing terminal equipments
In the computer-readable memory for working in a specific way so that the instruction being stored in the computer-readable memory produces bag
The manufacture of command device is included, the command device is realized in one side of one flow process of flow chart or multiple flow processs and/or block diagram
The function of specifying in frame or multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing terminal equipments so that
On computer or other programmable terminal equipments perform series of operation steps to produce computer implemented process, so as to
The instruction performed on computer or other programmable terminal equipments is provided for realizing in one flow process of flow chart or multiple flow processs
And/or specify in one square frame of block diagram or multiple square frames function the step of.
Although having been described for the preferred embodiment of the embodiment of the present application, those skilled in the art once know base
This creative concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to
Including preferred embodiment and fall into having altered and changing for the embodiment of the present application scope.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that a series of process, method, article or terminal unit including key elements is not only wrapped
Those key elements are included, but also including other key elements being not expressly set out, or also include for this process, method, article
Or the key element that terminal unit is intrinsic.In the absence of more restrictions, by wanting that sentence "including a ..." is limited
Element, it is not excluded that also there is other identical element in the process including the key element, method, article or terminal unit.
Storage method above to a kind of image data provided herein and a kind of storage device of image data, enter
Go and be discussed in detail, specific case used herein has been set forth to the principle and embodiment of the application, the above has been implemented
The explanation of example is only intended to help and understands the present processes and its core concept;Simultaneously for the general technology people of this area
Member, according to the thought of the application, will change in specific embodiments and applications, in sum, this explanation
Book content should not be construed as the restriction to the application.
Claims (20)
1. a kind of storage method of image data, it is characterised in that include:
Gather multiple images;
According to described multiple images, image data is generated;
The target image data with given resolution are extracted from the image data;
For the target image data, tile images are generated, the tile images have corresponding image information;
Store the tile images and its corresponding image information.
2. method according to claim 1, it is characterised in that described to extract from the image data with specifying point
The step of target image data of resolution, includes:
Resampling is carried out to the image data, the target image data with given resolution are obtained.
3. method according to claim 1, it is characterised in that described for the target image data, generates tile figure
The step of picture, includes:
Determine the zero of the target image data;
It is multiple tile images by target image data cutting from the beginning of the zero.
4. method according to claim 3, it is characterised in that the tile images have default Pixel Dimensions size,
It is described from the beginning of the zero, by target image data cutting be multiple tile images the step of include:
By the target image data cutting it is with identical Pixel Dimensions according to preset rules from the beginning of the zero
Multiple tile images of size.
5. method according to claim 1, it is characterised in that the corresponding image information of the tile images includes:It is described
The corresponding pixel coordinate of tile images, line number, column number, picture level, picture format, and, pixel resolution.
6. method according to claim 5, it is characterised in that also include:
Represent the corresponding target tile image of current display area.
7. method according to claim 6, it is characterised in that described to represent the corresponding target tile figure of current display area
The step of picture, includes:
The corresponding target tile image of current display area is extracted from the tile images;
Represent the target tile image in display system is specified.
8. method according to claim 7, it is characterised in that described to extract current display area from the tile images
The step of corresponding target tile image in domain, includes:
According to the displaying ratio coefficient for specifying display system current, Target Photo level is determined;
Calculate current display area corresponding target line number and column number in the Target Photo level;
Extract the target line number and the corresponding target tile image of column number.
9. method according to claim 8, it is characterised in that the calculating current display area is in the Target Photo layer
Corresponding target line number and include the step of column number in level:
Determine the coordinate figure on multiple summits of current display area and the zero of the corresponding image data of the tile images;
The coordinate figure on the plurality of summit and the difference of the zero are calculated respectively;
Using the pixel coordinate of current display area described in the mathematic interpolation;
According to the pixel coordinate, the target line number and column number are determined.
10. method according to claim 1, it is characterised in that the image data has corresponding coordinate information, in institute
State according to described multiple images, the step of generate image data after, also include:
The coordinate information of the image data is converted, the image data with specified coordinate information is obtained.
11. a kind of storage devices of image data, it is characterised in that include:
Image capture module, for gathering multiple images;
Image data generation module, for according to described multiple images, generating image data;
Target image data extraction module, for extracting the target image number with given resolution from the image data
According to;
Tile images generation module, for for the target image data, generating tile images, it is right that the tile images have
The image information answered;
Memory module, for storing the tile images and its corresponding image information.
12. devices according to claim 11, it is characterised in that the target image data extraction module includes:
Target image data extracting sub-module, for carrying out resampling to the image data, obtains with given resolution
Target image data.
13. devices according to claim 11, it is characterised in that the tile images generation module includes:
Determination sub-module, for determining the zero of the target image data;
Cutting submodule, is multiple tile images by target image data cutting for from the beginning of the zero.
14. devices according to claim 13, it is characterised in that the tile images have default Pixel Dimensions big
Little, the cutting submodule includes:
Cutting unit, for from the beginning of the zero, according to preset rules by the target image data cutting be with
Multiple tile images of identical Pixel Dimensions size.
15. devices according to claim 11, it is characterised in that the corresponding image information of the tile images includes:Institute
The corresponding pixel coordinate of tile images, line number, column number, picture level, picture format are stated, and, pixel resolution.
16. devices according to claim 15, it is characterised in that also include:
Target tile picture showing module, for representing the corresponding target tile image of current display area.
17. devices according to claim 16, it is characterised in that the target tile picture showing module includes:
Target tile image zooming-out submodule, for extracting the corresponding target watt of current display area from the tile images
Picture;
Target tile picture showing submodule, for representing the target tile image in display system is specified.
18. devices according to claim 17, it is characterised in that the target tile image zooming-out submodule includes:
Target Photo level determining unit, for according to the displaying ratio coefficient for specifying display system current, determining Target Photo
Level;
Target line number and column number computing unit, it is corresponding in the Target Photo level for calculating current display area
Target line number and column number;
Target tile image extraction unit, for extracting the target line number and the corresponding target tile image of column number.
19. devices according to claim 18, it is characterised in that the target line number and column number computing unit bag
Include:
Determination subelement, for determining the coordinate figure and the corresponding image of the tile images on multiple summits of current display area
The zero of data;
Mathematic interpolation subelement, for calculating the coordinate figure on the plurality of summit and the difference of the zero respectively;
Pixel coordinate computation subunit, for using the pixel coordinate of current display area described in the mathematic interpolation;
Target line number and column number determination subelement, for according to the pixel coordinate, determining the target line number and row
Numbering.
20. devices according to claim 11, it is characterised in that the image data has corresponding coordinate information, institute
Stating device also includes:
Conversion module, for converting the coordinate information of the image data, obtains the image data with specified coordinate information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611089352.4A CN106599119B (en) | 2016-11-30 | 2016-11-30 | Image data storage method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611089352.4A CN106599119B (en) | 2016-11-30 | 2016-11-30 | Image data storage method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106599119A true CN106599119A (en) | 2017-04-26 |
CN106599119B CN106599119B (en) | 2020-06-09 |
Family
ID=58594658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611089352.4A Active CN106599119B (en) | 2016-11-30 | 2016-11-30 | Image data storage method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106599119B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108021653A (en) * | 2017-12-01 | 2018-05-11 | 湖州师范学院 | A kind of data screening method of safety defense monitoring system |
CN108447042A (en) * | 2018-03-06 | 2018-08-24 | 北京建筑大学 | The fusion method and system of urban landscape image data |
CN108932292A (en) * | 2018-05-29 | 2018-12-04 | 东南大学 | A kind of a wide range of remote sensing image fast multiresolution scheduling display methods |
CN109271538A (en) * | 2018-08-20 | 2019-01-25 | 深圳和而泰智能控制股份有限公司 | A kind of picture storage method and relevant device |
CN109427063A (en) * | 2017-08-30 | 2019-03-05 | 广州极飞科技有限公司 | The storage method and device of image data |
CN110427448A (en) * | 2019-08-05 | 2019-11-08 | 山东省国土测绘院 | Image method for caching and processing, calculates equipment and read/write memory medium at device |
CN110781325A (en) * | 2019-10-21 | 2020-02-11 | 武汉大学 | High-resolution remote sensing data grid refined management model and construction method thereof |
CN110851752A (en) * | 2019-09-25 | 2020-02-28 | 视联动力信息技术股份有限公司 | Image transmission method and device |
CN113032499A (en) * | 2019-12-25 | 2021-06-25 | 广州极飞科技股份有限公司 | Auxiliary display method, auxiliary ground feature information labeling method, auxiliary display device, auxiliary ground feature information labeling equipment and auxiliary ground feature information labeling medium |
CN113613036A (en) * | 2021-06-25 | 2021-11-05 | 海南视联大健康智慧医疗科技有限公司 | Image transmission method, device, equipment and medium |
CN114136286A (en) * | 2021-11-29 | 2022-03-04 | 苏州华创智城科技有限公司 | High-definition image auxiliary positioning method for mobile equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0638875A2 (en) * | 1993-08-06 | 1995-02-15 | Matsushita Electric Industrial Co., Ltd. | A 3-dimensional animation generating apparatus and a method for generating a 3-dimensional animation |
EP1223558A2 (en) * | 2000-12-28 | 2002-07-17 | Matsushita Electric Industrial Co., Ltd. | Rendering device |
CN103455624A (en) * | 2013-09-16 | 2013-12-18 | 湖北文理学院 | Implement method of lightweight-class global multi-dimensional remote-sensing image network map service |
-
2016
- 2016-11-30 CN CN201611089352.4A patent/CN106599119B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0638875A2 (en) * | 1993-08-06 | 1995-02-15 | Matsushita Electric Industrial Co., Ltd. | A 3-dimensional animation generating apparatus and a method for generating a 3-dimensional animation |
EP1223558A2 (en) * | 2000-12-28 | 2002-07-17 | Matsushita Electric Industrial Co., Ltd. | Rendering device |
CN103455624A (en) * | 2013-09-16 | 2013-12-18 | 湖北文理学院 | Implement method of lightweight-class global multi-dimensional remote-sensing image network map service |
Non-Patent Citations (1)
Title |
---|
王华斌 等: "海量遥感影像数据存储管理技术研究与实现", 《测绘科学》 * |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109427063A (en) * | 2017-08-30 | 2019-03-05 | 广州极飞科技有限公司 | The storage method and device of image data |
CN108021653B (en) * | 2017-12-01 | 2021-08-03 | 湖州师范学院 | Data screening method of security monitoring system |
CN108021653A (en) * | 2017-12-01 | 2018-05-11 | 湖州师范学院 | A kind of data screening method of safety defense monitoring system |
CN108447042A (en) * | 2018-03-06 | 2018-08-24 | 北京建筑大学 | The fusion method and system of urban landscape image data |
CN108932292A (en) * | 2018-05-29 | 2018-12-04 | 东南大学 | A kind of a wide range of remote sensing image fast multiresolution scheduling display methods |
CN109271538A (en) * | 2018-08-20 | 2019-01-25 | 深圳和而泰智能控制股份有限公司 | A kind of picture storage method and relevant device |
CN110427448A (en) * | 2019-08-05 | 2019-11-08 | 山东省国土测绘院 | Image method for caching and processing, calculates equipment and read/write memory medium at device |
CN110851752A (en) * | 2019-09-25 | 2020-02-28 | 视联动力信息技术股份有限公司 | Image transmission method and device |
CN110851752B (en) * | 2019-09-25 | 2023-12-08 | 视联动力信息技术股份有限公司 | Image transmission method and device |
CN110781325A (en) * | 2019-10-21 | 2020-02-11 | 武汉大学 | High-resolution remote sensing data grid refined management model and construction method thereof |
CN113032499A (en) * | 2019-12-25 | 2021-06-25 | 广州极飞科技股份有限公司 | Auxiliary display method, auxiliary ground feature information labeling method, auxiliary display device, auxiliary ground feature information labeling equipment and auxiliary ground feature information labeling medium |
CN113032499B (en) * | 2019-12-25 | 2024-04-26 | 广州极飞科技股份有限公司 | Auxiliary display and auxiliary labeling method, device, equipment and medium for ground object information |
CN113613036A (en) * | 2021-06-25 | 2021-11-05 | 海南视联大健康智慧医疗科技有限公司 | Image transmission method, device, equipment and medium |
CN114136286A (en) * | 2021-11-29 | 2022-03-04 | 苏州华创智城科技有限公司 | High-definition image auxiliary positioning method for mobile equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106599119B (en) | 2020-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106599119A (en) | Image data storage method and apparatus | |
KR101504383B1 (en) | Method and apparatus of taking aerial surveys | |
EP1788349B1 (en) | Method for geocoding a perspective image | |
JP4685313B2 (en) | Method for processing passive volumetric image of any aspect | |
US7415356B1 (en) | Techniques for accurately synchronizing portions of an aerial image with composited visual information | |
CN103455480B (en) | A kind of position search method based on electronic chart and device | |
CN110246221A (en) | True orthophoto preparation method and device | |
CN110686704A (en) | Pose calibration method, system and medium for laser radar and combined inertial navigation | |
CN106611441B (en) | The treating method and apparatus of three-dimensional map | |
US20030225513A1 (en) | Method and apparatus for providing multi-level blended display of arbitrary shaped textures in a geo-spatial context | |
CN109801371B (en) | Network three-dimensional electronic map construction method based on Cesium | |
US20130127852A1 (en) | Methods for providing 3d building information | |
US8675013B1 (en) | Rendering spherical space primitives in a cartesian coordinate system | |
KR100417638B1 (en) | Digital Photogrammetric Manufacturing System using General PC | |
CN107154070B (en) | Method and device for superposing vector elements and digital ground model | |
CN105095314A (en) | Point of interest (POI) marking method, terminal, navigation server and navigation system | |
CN116824077A (en) | High-precision map image generation method, device and equipment | |
CN106846388B (en) | Image map registration method and system | |
CN108491401B (en) | Coordinate deviation rectifying method for 2.5-dimensional map | |
Ahn et al. | Ortho-rectification software applicable for IKONOS high resolution images: GeoPixel-Ortho | |
AU2013260677B2 (en) | Method and apparatus of taking aerial surveys | |
WO2023053485A1 (en) | Information processing device, information processing method, and information processing program | |
Mower | Creating and delivering augmented scenes | |
JP2009086110A (en) | Device for creating landscape picture | |
CN118379453A (en) | Unmanned aerial vehicle aerial image and webGIS three-dimensional scene linkage interaction method and system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 510000 Block C, 115 Gaopu Road, Tianhe District, Guangzhou City, Guangdong Province Patentee after: XAG Co., Ltd. Address before: No.3a01, No.1 Sicheng Road, Gaotang Software Park, Tianhe District, Guangzhou, Guangdong 510000 Patentee before: Guangzhou Xaircraft Technology Co.,Ltd. |