CN102684703A - Efficient lossless compression method for digital elevation model data - Google Patents

Efficient lossless compression method for digital elevation model data Download PDF

Info

Publication number
CN102684703A
CN102684703A CN201210124632XA CN201210124632A CN102684703A CN 102684703 A CN102684703 A CN 102684703A CN 201210124632X A CN201210124632X A CN 201210124632XA CN 201210124632 A CN201210124632 A CN 201210124632A CN 102684703 A CN102684703 A CN 102684703A
Authority
CN
China
Prior art keywords
sigma
kappa
partiald
compression
dem
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
CN201210124632XA
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.)
Beijing Normal University
Original Assignee
Beijing Normal University
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 Beijing Normal University filed Critical Beijing Normal University
Priority to CN201210124632XA priority Critical patent/CN102684703A/en
Publication of CN102684703A publication Critical patent/CN102684703A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention achieves an effect of carrying out rapid lossless compression on digital elevation models by using an optimal linear square forecast model and an adaptive arithmetic coding technology. Under the condition of keeping that digital elevation model data information is not lost before and after being compressed, an effect that digital elevation model data is higher in compression ratio and shorter in compression time is achieved. The compression process is divided into two steps: 1, identifying and eliminating information redundancies between adjacent elevations of a digital elevation model by using the optimal linear square forecast model, extracting independent space information, and reducing information entropies, namely that after carrying out decorrelation by using the optimal linear square forecast model, carrying out replacement by using an array without redundancy or with a small redundancy rate; and 2, for the array, carrying out encoding on the extracted information by using the adaptive arithmetic coding technology, so that the reduced information entropies are specifically implemented, thereby further reducing the data quantity. After the two steps, a binary data stream with a higher compression ratio is obtained.

Description

A kind of method of the data lossless of digital elevation model efficiently compression
One, technical field
The present invention relates to a kind of method of the data lossless of digital elevation model efficiently compression, belong to the Spatial Information Technology field.
Two, background technology
Development along with Spatial Information Technology.It is increasingly high that people obtain the automaticity of high-resolution digital elevation model (DEM); Resolution and the data volume of DEM increase rapidly; The DEM of a system handles reaches a hundreds of Gbtyte; Even several TB, the storage of these data takies a large amount of hard drive spaces, has surpassed the development speed of computer hardware; Having is exactly that the present network bandwidth and transmission rate is all limited again, and in order to accelerate the transmission of DEM on network, the compress technique of data provides a kind of effective solution.Compress technique also is one of the important means of the fail safe of service data in addition.
Data compression is according to having or not information dropout to be divided in the process of reconstruction: lossless compress and lossy compression method.Though lossy compression method can obtain the compression ratio higher than lossless compress; The transmission time that takes up room with network to reducing memory device has wide significance; But it can not rebuild the content of original DEM accurately, meeting lost part information, and compression process is irreversible.Require data to have very high confidence level some field people; Like boundary line that relates to national sovereignty among the DEM and the elevation information that reflects the physical features variation etc.; This part information that lossy compression method is lost is vital to us, and therefore lossless compression algorithm has very important realistic meaning to precision, storage, transmission and the information processing that guarantees data efficiently.About document has proposed a lot of diminishing and lossless compression algorithm about text, image; Though these algorithms obtain very high compression ratio when image compression; Because the height value among the DEM is a floating number; And have certain correlation between the consecutive value, these algorithms often are difficult to be applied on the lossless compress of dem data or compression ratio is not high, compression time is longer.
The present invention has realized taking advantage of forecast model and adaptive arithmetic code technology to realize the quick nondestructive compression of DEM with optimum linearity two.
Three, summary of the invention
1, purpose: the purpose of this invention is to provide a kind of method of dem data efficient lossless compression, keeping under the situation that nothing is lost before and after the dem data Information Compression, realize that dem data higher compression ratio, compression time are shorter.
2, technical scheme: the present invention relates to a kind of method of the data lossless of digital elevation model efficiently compression, the steps flow chart of this method is as shown in Figure 1.
The compression of DEM is divided into two processes: the first step, and take advantage of forecast model identification and eliminate information redundancy between the adjacent elevation of DEM through optimum linearity two, extract independently spatial information; Reduce comentropy; That is, to the digital elevation model H [i * n+j] of a m * n through array pVar [i * n+j] replacement irredundant after the forecast model decorrelation or that redundancy is less, wherein 1≤i≤n with one; 1≤j≤m, m, n are positive integer; Next step adopts the adaptive arithmetic code technology that the information of being extracted is encoded to pVar [i * n+j], makes the comentropy after the minimizing be able to concrete realization, further reduces data volume.After this two step, the binary data stream that can obtain having high compression ratio.Concrete implementation procedure is following:
Step 1: set up optimum linearity two and take advantage of forecast model
Prediction is exactly to utilize the correlation between adjacent data among the DEM, estimates the information of any down.Because the data compression and decompression process adopts same rule to predict, so can recover original dem data accurately from the information behind the coding.
The adaptive arithmetic code that the present invention adopts is a kind of entropy coding, and entropy coding has higher description efficient to the data of Gaussian distributed than equally distributed data.Altitude data is generally disobeyed Gaussian distribution; If each data in the discrete data are stochastic variables; Then whole data set Gaussian distributed is eliminated the correlation between the DEM so at first introduce a linear prediction model, the approximate Gaussian distributed of the DEM correction that generates at last.Because dem data is a tactic two-dimensional matrix, the conditional probability distribution of a back point can be obtained by the last collection of coded data.Make C={x Mn: n<j, 0≤m<N; N=j, 0≤m<i}, wherein the size of DEM is n * m, x I+1It is the height value that the next one will be encoded.In order to obtain last compression effectiveness, hope x I+1Probability P in whole two-dimensional matrix (formula 1) maximum.
P { x i + 1 | i , j ∈ ( N , M ) } = Π i , j = 0 N - 1 , M - 1 P ( x i + 1 | S ij ) , S ij ⊆ C - - - ( 1 )
S in the formula (1) IjBe the context of specified requirements, x I+1Code length be-log 2P{x I+1| i, j ∈ (N, M) } position be the mean value of probabilistic model entropy, conditional probability P{x I+1| i, and j ∈ (N, M) } be that encoded radio from the front calculates, so decoder can be decoded to it according to identical order equally.
Know that from last surface analysis when using the statistical coding packed data, if the distance of the frequency departure equilibrium locations of elevation correction is more little, compression effectiveness is just good more.(i j) is the stochastic variable of Normal Distribution to elevation variable H, and its predicted value error can have the elevation of consecutive points to obtain, and is as shown in Figure 2, (i, vertical error ν j) among the DEM I, jCalculate by formula (2).
ν i,j=H i,j1H i-1,j2H i-1,j-1-κ 3H i,j-1 (2)
In the formula (2), κ 1, κ 2, κ 3Be real number, k 1+ k 2+ k 3=1; ν I, jThe two-dimensional matrix V that forms one (m-1) * (n-1).The important precision index of weighing error matrix V is mathematic expectaion μ and variances sigma, and μ representes the mathematical feature of V concentrated position; σ representes the numerical characteristic around the concentrated position dispersion degree, and σ is more little, and the dispersion of V is more little, otherwise dispersion degree is big more.In order to make forecast model optimum, should satisfy formula (3):
u = 0 σ = Min Promptly Σ i = 1 m Σ j = 1 n v i , j = 0 Σ i = 1 m Σ j = 1 m ( α i , j v i , j 2 ) = Min v i , j = H i , j - κ 1 H i , j - κ 2 H i - 1 , j - 1 - κ 3 H i , j - 1 - - - ( 3 )
Formula (3) is exactly that optimum linearity two is taken advantage of forecast model, wherein, and α I, jBe coefficient correlation, α I, j=1; Order
Figure BSA00000707303300033
ρ is the Lagrange multiplier, with Φ to κ 1, κ 2, κ 3Ask first derivative and order:
Σ i , j v = 0 ∂ ψ / ∂ κ 1 = 0 ∂ ψ / ∂ κ 2 = 0 ∂ ψ / ∂ κ 3 / = 0 ∂ ψ / ∂ λ = 0 - - - ( 4 )
Σ i = 1 m Σ j = 1 n H i - 1 , j 2 Σ i = 1 m Σ j = 1 n H i - 1 , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j H i , j - 1 - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j Σ i = 1 m Σ j = 1 n H i - 1 , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 H i - 1 , j - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 H i , j - 1 Σ i = 1 m Σ j - 1 n H i - 1 , j H i , j - 1 Σ i = 1 m Σ j = 1 n H i , j - 1 2 - 1 2 Σ i = 1 m Σ j = 1 n H i , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i , j - 1 0 κ 1 κ 2 κ 3 ρ = Σ i = 1 m Σ j = 1 n H i , j H i - 1 , j Σ i = 1 m Σ j = 1 n H i , j H i - 1 . , j - 1 Σ i = 1 m Σ j = 1 n H i , j H i , j - 1 Σ i = 1 m Σ j = 1 n H i , j - - - ( 5 )
Order A = { a ij } = Σ i = 1 m Σ j = 1 n H i - 1 , j 2 Σ i = 1 m Σ j = 1 n H i - 1 , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j H i , j - 1 - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j Σ i = 1 m Σ j = 1 n H i - 1 , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 H i - 1 , j - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 H i , j - 1 Σ i = 1 m Σ j - 1 n H i - 1 , j H i , j - 1 Σ i = 1 m Σ j = 1 n H i , j - 1 2 - 1 2 Σ i = 1 m Σ j = 1 n H i , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i , j - 1 0 , B = { b i } = Σ i = 1 m Σ j = 1 n H i , j H i - 1 , j Σ i = 1 m Σ j = 1 n H i , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i , j H i , j - 1 Σ i = 1 m Σ j = 1 n H i , j
Wherein, i, j=1,2,3,4.
Separate above-mentioned equation (5) through the Doolittle decomposition method, obtain:
u kj = a kj - Σ t = 1 k - 1 l kt u tj l i k = ( a i k - Σ t = 1 k - 1 l i t u tk ) / u kk
k=1,2,3,4;j=k,k+1,...,3;i=k+1,...,n (6)
y i = b i - Σ t = 1 i - 1 l it y t κ j = ( y j - Σ t = j + 1 n u i t κ t ) / u jj I=1 wherein ..., 4; J=3,2,1 (7)
Through following formula (6) and (7), can be in the hope of κ 1, κ 2, κ 3Value.(i, first row j) and the value of first row are constant, utilize ν to keep H I, j=int (H I, j1H I-1, j2H I-1, j-13H I, j-1) calculate elevation correction, the result be stored in pVar (i, j), this moment 1≤i≤n, 1≤j≤m.
Step 2: arithmetic coding compression DEM corrects error
(i j) adopts adaptive arithmetic code to encode, and finally realizes data compression to predicated error matrix pVar.Basic thought is that each different sequences is videoed in the respective digital zone between 0 and 1 according to the frequency of occurrences, and this region list is shown as the binary fraction that can change precision, and the data that wherein frequency of occurrences is low are more utilized the high more fractional representation of precision.The compression effectiveness of this algorithm of frequency of occurrences decision of source data also determines the corresponding interval range of source data in the cataloged procedure simultaneously, then determines the dateout that the arithmetic compression algorithm is final between the code area.
In the realization of arithmetic coding high-order context model, along with the linearity increase of model order, the model committed memory is the speed increment of index, and needing the contextual number of storage is m n, wherein, m is mutual unduplicated symbol numbers, n is the exponent number of model.Utilize the high-order context always to be based upon this rule on the contextual basis of low order; 0 rank context table is stored in the linear linked list; Each element in the chained list has comprised the pointer that points to corresponding 1 rank context table; Comprise the pointer that points to 2 rank context table again in the 1 rank context table, comprised the pointer that points to 3 rank context table again in the 2 rank context table, constituted the whole context tree thus.Have only the literary talent up and down that occurred to have the node that has distributed in the tree, the context that did not occur needn't the committed memory space, only just has count value at the character that this context occurred at the back, can reduce space consuming to greatest extent thus.Through after this process, obtain the binary data stream that DEM has high compression ratio.
3, advantage and effect: about document has proposed a lot of diminishing and lossless compression algorithm about image; Though these algorithms obtain very high compression ratio when text, image compression, be difficult to be applied on the lossless compress of dem data or compression ratio is not high, compression time is longer.The present invention proposes to take advantage of forecast model and adaptive arithmetic code technology to realize the quick nondestructive compression of DEM with optimum linearity two.Keeping under the situation that nothing is lost before and after the dem data Information Compression, realizing that dem data higher compression ratio, compression time are shorter.
Four, description of drawings
Fig. 1 DEM lossless compress process sketch map
The position relation of Fig. 2 grid DEM consecutive points
Five, embodiment
The present invention relates to a kind of method of the data lossless of digital elevation model efficiently compression, the steps flow chart of this method is as shown in Figure 1.
The compression of DEM is divided into two processes: the first step, and take advantage of forecast model identification and eliminate information redundancy between the adjacent elevation of DEM through optimum linearity two, extract independently spatial information; Reduce comentropy; That is, to the digital elevation model H [i * n+j] of a m * n through array pVar [i * n+j] replacement irredundant after the forecast model decorrelation or that redundancy is less, wherein 1≤i≤n with one; 1≤j≤m, m, n are positive integer; Next step adopts the adaptive arithmetic code technology that the information of being extracted is encoded to pVar [i * n+j], makes the comentropy after the minimizing be able to concrete realization, further reduces data volume.After this two step, can obtain having the more binary data stream of high compression ratio.Concrete implementation procedure is following:
Step 1: set up optimum linearity two and take advantage of forecast model
Prediction is exactly to utilize the correlation between adjacent data among the DEM, estimates the information of any down.Because the data compression and decompression process adopts same rule to predict, so can recover original dem data accurately from the information behind the coding.
The adaptive arithmetic code that the present invention adopts is a kind of entropy coding, and entropy coding has higher description efficient to the data of Gaussian distributed than equally distributed data.Altitude data is generally disobeyed Gaussian distribution; If each data in the discrete data are stochastic variables; Then whole data set Gaussian distributed is eliminated the correlation between the DEM so at first introduce a linear prediction model, the approximate Gaussian distributed of the DEM correction that generates at last.Because dem data is a tactic two-dimensional matrix, the conditional probability distribution of a back point can be obtained by the last collection of coded data.Make C={x Mn: n<j and 0≤m<N; N=j and 0≤m<i}, wherein the size of DEM is n * m, x I+1It is the height value that the next one will be encoded.In order to obtain last compression effectiveness, hope x I+1Probability P in whole two-dimensional matrix (formula 1) maximum.
P { x i + 1 | i , j ∈ ( N , M ) } = Π i , j = 0 N - 1 , M - 1 P ( x i + 1 | S ij ) , S ij ⊆ C - - - ( 1 )
S in the formula (1) IjBe the context of specified requirements, x I+1Code length be-log 2P{x I+1| i, j ∈ (N, M) } position be the mean value of probabilistic model entropy, conditional probability P{x I+1| i, and j ∈ (N, M) } be that encoded radio from the front calculates, so decoder can be decoded to it according to identical order equally.
The present invention proposes a kind of optimum linearity two of better performances and takes advantage of forecast model.Know that from last surface analysis when using the statistical coding packed data, if the distance of the frequency departure equilibrium locations of elevation correction is more little, compression effectiveness is just good more.(i j) is the stochastic variable of Normal Distribution to elevation variable H, and its predicted value error can have the elevation of consecutive points to obtain, and is as shown in Figure 2, (i, vertical error ν j) among the DEM I, jCalculate by formula (2).
ν i,j=H i,j1H i-1,j2H i-1,j-13H i,j-1 (2)
In the formula (2), κ 1, κ 2, κ 3Be real number, k 1+ k 2+ k 3=1; ν I, jThe two-dimensional matrix V that forms one (m-1) * (n-1).The important precision index of weighing error matrix V is mathematic expectaion μ and variances sigma, and μ representes the mathematical feature of V concentrated position; σ representes the numerical characteristic around the concentrated position dispersion degree, and σ is more little, and the dispersion of V is more little, otherwise dispersion degree is big more.In order to make forecast model optimum, should satisfy formula (3):
u = 0 σ = Min Promptly Σ i = 1 m Σ j = 1 n v i , j = 0 Σ i = 1 m Σ j = 1 m ( α i , j v i , j 2 ) = Min v i , j = H i , j - κ 1 H i , j - κ 2 H i - 1 , j - 1 - κ 3 H i , j - 1 - - - ( 3 )
Formula (3) is exactly that optimum linearity two is taken advantage of forecast model, wherein, and α I, jBe coefficient correlation, α I, j=1; Order
Figure BSA00000707303300063
ρ is the Lagrange multiplier, with Φ to κ 1, κ 2, κ 3Ask first derivative and order:
Σ i , j v = 0 ∂ ψ / ∂ κ 1 = 0 ∂ ψ / ∂ κ 2 = 0 ∂ ψ / ∂ κ 3 / = 0 ∂ ψ / ∂ λ = 0 - - - ( 4 )
Σ i = 1 m Σ j = 1 n H i - 1 , j 2 Σ i = 1 m Σ j = 1 n H i - 1 , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j H i , j - 1 - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j Σ i = 1 m Σ j = 1 n H i - 1 , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 H i - 1 , j - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 H i , j - 1 Σ i = 1 m Σ j - 1 n H i - 1 , j H i , j - 1 Σ i = 1 m Σ j = 1 n H i , j - 1 2 - 1 2 Σ i = 1 m Σ j = 1 n H i , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i , j - 1 0 κ 1 κ 2 κ 3 ρ = Σ i = 1 m Σ j = 1 n H i , j H i - 1 , j Σ i = 1 m Σ j = 1 n H i , j H i - 1 . , j - 1 Σ i = 1 m Σ j = 1 n H i , j H i , j - 1 Σ i = 1 m Σ j = 1 n H i , j - - - ( 5 )
Order A = { a ij } = Σ i = 1 m Σ j = 1 n H i - 1 , j 2 Σ i = 1 m Σ j = 1 n H i - 1 , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j H i , j - 1 - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j Σ i = 1 m Σ j = 1 n H i - 1 , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 H i - 1 , j - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 H i , j - 1 Σ i = 1 m Σ j - 1 n H i - 1 , j H i , j - 1 Σ i = 1 m Σ j = 1 n H i , j - 1 2 - 1 2 Σ i = 1 m Σ j = 1 n H i , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i , j - 1 0 , B = { b i } = Σ i = 1 m Σ j = 1 n H i , j H i - 1 , j Σ i = 1 m Σ j = 1 n H i , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i , j H i , j - 1 Σ i = 1 m Σ j = 1 n H i , j
Wherein, i, j=1,2,3,4.
Separate above-mentioned equation (5) through the Doolittle decomposition method, obtain:
u kj = a kj - Σ t = 1 k - 1 l kt u tj l i k = ( a i k - Σ t = 1 k - 1 l i t u tk ) / u kk k=1,2,3,4;j=k,k+1,...,3;i=k+1,...,n (6)
y i = b i - Σ t = 1 i - 1 l it y t κ j = ( y j - Σ t = j + 1 n u i t κ t ) / u jj I=1 wherein ..., 4; J=3,2,1 (7)
Through following formula (6) and (7), can be in the hope of κ 1, κ 2, κ 3Value.(i, first row j) and the value of first row are constant, utilize ν to keep H I, j=int (H I, j1H I-1, j2H I-1, j-13H I, j-1) calculate elevation correction, the result be stored in pVar (i, j), this moment 1≤i<n, 1≤j<m.
Step 2: arithmetic coding compression DEM corrects error
(i j) adopts adaptive arithmetic code to encode, and finally realizes data compression to predicated error matrix pVar.Basic thought is that each different sequences is videoed in the respective digital zone between 0 and 1 according to the frequency of occurrences, and this region list is shown as the binary fraction that can change precision, and the data that wherein frequency of occurrences is low are more utilized the high more fractional representation of precision.The compression effectiveness of this algorithm of frequency of occurrences decision of source data also determines the corresponding interval range of source data in the cataloged procedure simultaneously, then determines the dateout that the arithmetic compression algorithm is final between the code area.
In the realization of arithmetic coding high-order context model, along with the linearity increase of model order, the model committed memory is the speed increment of index, and needing the contextual number of storage is m n, wherein, m is mutual unduplicated symbol numbers, n is the exponent number of model.Utilize the high-order context always to be based upon this rule on the contextual basis of low order; 0 rank context table is stored in the linear linked list; Each element in the chained list has comprised the pointer that points to corresponding 1 rank context table; Comprise the pointer that points to 2 rank context table again in the 1 rank context table, comprised the pointer that points to 3 rank context table again in the 2 rank context table, constituted the whole context tree thus.Have only the literary talent up and down that occurred to have the node that has distributed in the tree, the context that did not occur needn't the committed memory space, only just has count value at the character that this context occurred at the back, can reduce space consuming to greatest extent thus.Through after this process, obtain the binary data stream that DEM has high compression ratio.
Embodiment 1:
Dispose Intel (R) Core at one TM2.4GHz 2 processors, the 2G internal memory is implemented on the computer of ATI Radeon HD figure video card.Select three width of cloth dem data Asia, ChinaPart and JingPart, represent different landform: Asia to comprise the mountain area that ocean and relief are very big respectively; The ChinaPart overwhelming majority is area, the mountain ridge; JingPart is the flat-bottomed land.Table 1 has been listed the relevant information of this three width of cloth verification msg.
The information of table 1.DEM
Figure BSA00000707303300081
Table 2 has been listed DEM compression method of the present invention and Winrar, the CAB performance index to three width of cloth DEM compression respectively.The formula of compression ratio is like (8):
Compression ratio:
Figure BSA00000707303300082
From table 2, can find out: the compression time that the present invention obtains DEM to be significantly less than the back both, and also exceed 10%-20% than the compression ratio of WINRAR or CAB.
Three kinds of distinct methods algorithms of table 2. are to the comparison of DEM compression ratio and compression time performance
Figure BSA00000707303300083

Claims (1)

1. the method step of a digital elevation model data lossless compression efficiently comprises:
Step 1: set up optimum linearity two and take advantage of forecast model
Because (i, (i j) is the stochastic variable of Normal Distribution to elevation variable H j) to any point in the digital elevation model (DEM), and its predicted value error can be obtained (i, vertical error ν j) among the DEM by the consecutive points elevation I, jCalculate by formula (1).
ν i,j=H i,j1H i-1,j2H i-1,j-13H i,j-1 (1)
In the formula (1), κ 1, κ 2, κ 3Be real number, k 1+ k 2+ k 3=1; ν I, jThe two-dimensional matrix V that forms one (m-1) * (n-1), the important precision index of weighing error matrix V is mathematic expectaion μ and variances sigma, and σ is more little, and the dispersion of V is more little, on the contrary dispersion degree is big more, and optimum in order to make forecast model, should satisfy formula (2):
u = 0 σ = Min , Promptly Σ i = 1 m Σ j = 1 n v i , j = 0 Σ i = 1 m Σ j = 1 m ( α i , j v i , j 2 ) = Min v i , j = H i , j - κ 1 H i , j - κ 2 H i - 1 , j - 1 - κ 3 H i , j - 1 - - - ( 2 )
Formula (2) is exactly that optimum linearity two is taken advantage of forecast model, wherein, and α I, jBe coefficient correlation, α I, j=1; Order
Figure FSA00000707303200013
ρ is the Lagrange multiplier, with Φ to κ 1, κ 2, κ 3Ask first derivative and order:
Σ i , j v = 0 ∂ ψ / ∂ κ 1 = 0 ∂ ψ / ∂ κ 2 = 0 ∂ ψ / ∂ κ 3 / = 0 ∂ ψ / ∂ λ = 0 - - - ( 3 )
Σ i = 1 m Σ j = 1 n H i - 1 , j 2 Σ i = 1 m Σ j = 1 n H i - 1 , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j H i , j - 1 - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j Σ i = 1 m Σ j = 1 n H i - 1 , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 H i - 1 , j - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 H i , j - 1 Σ i = 1 m Σ j - 1 n H i - 1 , j H i , j - 1 Σ i = 1 m Σ j = 1 n H i , j - 1 2 - 1 2 Σ i = 1 m Σ j = 1 n H i , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i , j - 1 0 κ 1 κ 2 κ 3 ρ = Σ i = 1 m Σ j = 1 n H i , j H i - 1 , j Σ i = 1 m Σ j = 1 n H i , j H i - 1 . , j - 1 Σ i = 1 m Σ j = 1 n H i , j H i , j - 1 Σ i = 1 m Σ j = 1 n H i , j - - - ( 4 )
Order A = { a ij } = Σ i = 1 m Σ j = 1 n H i - 1 , j 2 Σ i = 1 m Σ j = 1 n H i - 1 , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j H i , j - 1 - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j Σ i = 1 m Σ j = 1 n H i - 1 , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 H i - 1 , j - 1 2 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 H i , j - 1 Σ i = 1 m Σ j - 1 n H i - 1 , j H i , j - 1 Σ i = 1 m Σ j = 1 n H i , j - 1 2 - 1 2 Σ i = 1 m Σ j = 1 n H i , j - 1 Σ i = 1 m Σ j = 1 n H i - 1 , j Σ i = 1 m Σ j = 1 n H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i , j - 1 0 , B = { b i } = Σ i = 1 m Σ j = 1 n H i , j H i - 1 , j Σ i = 1 m Σ j = 1 n H i , j H i - 1 , j - 1 Σ i = 1 m Σ j = 1 n H i , j H i , j - 1 Σ i = 1 m Σ j = 1 n H i , j
Wherein, i, j=1,2,3,4.
Separate above-mentioned equation (4) through the Doolittle decomposition method, obtain:
u kj = a kj - Σ t = 1 k - 1 l kt u tj l i k = ( a i k - Σ t = 1 k - 1 l i t u tk ) / u kk k=1,2,3,4;j=k,k+1,...,3;i=k+1,...,n (5)
y i = b i - Σ t = 1 i - 1 l it y t κ j = ( y j - Σ t = j + 1 n u i t κ t ) / u jj I=1 wherein ..., 4; J=3,2,1 (6)
Through following formula (5) and (6), try to achieve κ 1, κ 2, κ 3Value, (i, the values that first row and first j) is listed as are constant, utilize ν to keep H I, j=int (H I, j1H I-1, j2H I-1, j-13H I, j-1) calculate elevation correction, the result be stored in pVar (i, j), this moment 1≤i≤n, 1≤j≤m.
Step 2: adaptive arithmetic code compression DEM corrects error
In the realization of adaptive arithmetic code high-order context model; 0 rank context table is stored in the linear linked list, and each element in the chained list has comprised the pointer that points to corresponding 1 rank context table, has comprised the pointer that points to 2 rank context table again in the 1 rank context table; Comprised the pointer that points to 3 rank context table again in the 2 rank context table; Constitute whole context tree thus, have only the literary talent up and down that occurred to have the node that has distributed in the tree, the context that did not occur needn't the committed memory space; The character that only occurred at the back at this context just has count value; Can reduce space consuming to greatest extent thus,, obtain the binary data stream that DEM has high compression ratio through after this process.
CN201210124632XA 2012-04-26 2012-04-26 Efficient lossless compression method for digital elevation model data Pending CN102684703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210124632XA CN102684703A (en) 2012-04-26 2012-04-26 Efficient lossless compression method for digital elevation model data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210124632XA CN102684703A (en) 2012-04-26 2012-04-26 Efficient lossless compression method for digital elevation model data

Publications (1)

Publication Number Publication Date
CN102684703A true CN102684703A (en) 2012-09-19

Family

ID=46816149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210124632XA Pending CN102684703A (en) 2012-04-26 2012-04-26 Efficient lossless compression method for digital elevation model data

Country Status (1)

Country Link
CN (1) CN102684703A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559084A (en) * 2016-11-15 2017-04-05 浙江工业大学 A kind of lossless data compression coding method based on arithmetic coding
CN111309690A (en) * 2020-02-05 2020-06-19 吉林大学 G code data lossless compression method for numerical control machine tool
WO2021008524A1 (en) * 2019-07-15 2021-01-21 华为技术有限公司 Image encoding method and device, image decoding method and device, and storage medium
WO2022243494A1 (en) 2021-05-21 2022-11-24 Thales Methods for the compression and decompression of a digital terrain model file; associated compressed and decompressed files and computer program product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0448802A2 (en) * 1990-03-30 1991-10-02 International Business Machines Corporation Dynamic model selection during data compression
CN101490746A (en) * 2006-07-18 2009-07-22 汤姆森许可贸易公司 Audio bitstream data structure arrangement of a lossy encoded signal together with lossless encoded extension data for said signal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0448802A2 (en) * 1990-03-30 1991-10-02 International Business Machines Corporation Dynamic model selection during data compression
CN101490746A (en) * 2006-07-18 2009-07-22 汤姆森许可贸易公司 Audio bitstream data structure arrangement of a lossy encoded signal together with lossless encoded extension data for said signal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谭继强 等: "一种DEM数据无损压缩的方法", 《地理信息世界》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559084A (en) * 2016-11-15 2017-04-05 浙江工业大学 A kind of lossless data compression coding method based on arithmetic coding
CN106559084B (en) * 2016-11-15 2019-07-30 浙江工业大学 A kind of lossless data compression coding method based on arithmetic coding
WO2021008524A1 (en) * 2019-07-15 2021-01-21 华为技术有限公司 Image encoding method and device, image decoding method and device, and storage medium
CN111309690A (en) * 2020-02-05 2020-06-19 吉林大学 G code data lossless compression method for numerical control machine tool
CN111309690B (en) * 2020-02-05 2022-10-21 吉林大学 G code data lossless compression method for numerical control machine tool
WO2022243494A1 (en) 2021-05-21 2022-11-24 Thales Methods for the compression and decompression of a digital terrain model file; associated compressed and decompressed files and computer program product
FR3123172A1 (en) 2021-05-21 2022-11-25 Thales Methods of compression and decompression of a digital terrain model file; compressed and uncompressed files and associated computer program product.

Similar Documents

Publication Publication Date Title
Huang et al. Octsqueeze: Octree-structured entropy model for lidar compression
CN111818346B (en) Image encoding method and apparatus, image decoding method and apparatus
CN107832837B (en) Convolutional neural network compression method and decompression method based on compressed sensing principle
CN109889839B (en) Region-of-interest image coding and decoding system and method based on deep learning
CN111988629B (en) Image encoding device and image decoding device
US11177823B2 (en) Data compression by local entropy encoding
CN101640803B (en) Progressive distribution type encoding and decoding method and device for multispectral image
CN105374054A (en) Hyperspectral image compression method based on spatial spectrum characteristics
US20220215595A1 (en) Systems and methods for image compression at multiple, different bitrates
CN104159112A (en) Compressed sensing video transmission method and system based on dual sparse model decoding
CN104040592A (en) Predictive position decoding
CN113259676B (en) Image compression method and device based on deep learning
CN104820696A (en) Large-scale image retrieval method based on multi-label least square Hash algorithm
CN103188494A (en) Apparatus and method for encoding depth image by skipping discrete cosine transform (DCT), and apparatus and method for decoding depth image by skipping DCT
CN102684703A (en) Efficient lossless compression method for digital elevation model data
Zhang et al. Lossless image compression using a multi-scale progressive statistical model
CN106101732B (en) The vector quantization scheme of Fast Compression bloom spectrum signal
Song et al. Efficient Hierarchical Entropy Model for Learned Point Cloud Compression
CN103646409A (en) Hyperspectral image compressed coding method through multivariate vector quantization
CN115102934B (en) Decoding method, encoding device, decoding equipment and storage medium for point cloud data
CN103581677A (en) Image encrypted compression and decompression decryption method and device
CN103985096A (en) Hyperspectral image regression prediction compression method based on off-line training
CN115131673A (en) Task-oriented remote sensing image compression method and system
Biswas et al. Fast fractal image compression by pixels pattern using fuzzy c-means
Zhang et al. Structured sparse BAYESIAN hyperspectral compressive sensing using spectral unmixing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120919