OPTIMAL SPLINE INTERPOLATION FOR IMAGE COMPRESSION

Abstract: A computationally fast, effective method for compressing digital images uses an optimized subsampling process. A set of spatially overlapping spline functions (1014) is used as a basis onto which the image data (1012) are projected by use of a least-mean-squares criterion. The specified processes can be implemented for compressing and interpolating digital data arrays of N dimensions. Linear, planar and hyperplanar spline functions allow convenient, fast and efficient closed-form optimal compression, which process is easily incorporated into existing digital processing systems. A key advantage of the disclosed method is the fast coding/reconstruction speed, because it involves only FFT or convolution types of processors.

Description: OPTIMAL SPLINE INTERPOLATION FOR IMAGE COMPRESSION Field of the Invention The invention pertains generally to methods for digital data compression. In particular, the invention relates to fast optimal interpolation methods for sound, image and video data compression. Background of the Invention Image and sound may in general be transmitted, stored and displayed using multi-dimensional arrays of digital data, most often pertaining to sound (time domain) , still images (2-dimensional spatial domain) or video (3-dimensional space- time domain) . Digital representations of images, which in general include sound and image sequences, require substantial amounts of digital storage capacity or large transmission bandwidths. Broadly stated, the goal of digital image coding is primarily to reduce this data volume, while at the same time retaining a faithful duplicate of the original image. Compression methods for image data are based on redundancies in data and on the non-linearities of human perception (e.g., vision and hearing) . In the case of still images, spatial correlation is usually exploited, while for video, correlation in time and space are utilized. Because of its practical significance, digital image coding is an active area of research and development both academically and in industry. Historically, there are a variety of approaches to the problem of image compression, which may be classified by virtue of their predominant encoding algorithms, such as, for example, predictive coding, transform coding, statistical coding and interpolation coding. Contemporary image compression systems often utilize a combination of coding techniques tailored to the characteristics of the image. For instance, the Joint Photographic Experts Group (JPEG) standard utilizes Discrete Cosine Transform (DCT) and Huffman statistical coding among others. In order to reduce the computational overhead associated with a large image during image processing, decimation or subsampling can be performed at the outset, reducing the number of samples in subsequent processing. However, it is well known that the data should be filtered in conjunction with subsampling to reduce aliasing upon reconstruction. This decimation filtering is low pass in nature. It reduces the potential aliasing effect associated with resampling, but it also reduces the resolution of the original image. In the reconstruction process, these compressed data are interpolated by a corresponding inverse process to form the final image, for example, by a lst-order bi-linear interpolation. Combining the effect of low pass filtering, decimation and interpolation, the resolution of the resulting image is reduced. A way of retaining the initial resolution is to add back the difference, or residue, to the reconstructed image; however, the residue derived by simply subtracting the reconstructed image from the original is generally quite large, hence limiting the resulting data compression. Given the transmission, display and storage requirements of digital multimedia, more efficient data compression methods are clearly in demand. Conventional decimation/interpolation methods suffer from being computationally intensive and/or inefficient compared to the present invention. Summary of the Invention One objective of the present invention is to provide an optimal filter for decimation/interpolation of digital data which produces a minimal amount of residual error when comparing the reconstructed data to the original data set. Another object of the present invention is to provide a simple, efficient method for substantially minimizing the residual image associated with a digital data subsampling process. Accordingly, one aspect of the present invention comprises a method of compressing and reconstructing digital data which includes applying spline filters to the original digital data to generate compressed digital data. An optimizing process utilizes a predetermined error criterion to generate substantially optimal compressed digital data. A preferred error criterion is, for example, a least-mean- squares constraint. The method further entails interpolating the substantially optimal compressed digital data to generate a reconstructed representation of the original digital data. According to another aspect of the present invention, an optimal method for compressing digital data comprises applying spline filters to the digital data to generate compressed digital data. The compressed digital data is optimized by applying a predetermined error criterion to generate substantially optimal compressed digital data. A predetermined error criterion preferably incorporates the influence of the spline filter on the original digital data. According to still another aspect of the present invention, a method of approximating an array of digital data comprises periodically subsampling the array of digital data using a set of sampled continuous functions. The subsampling process generates an approximation of the original digital data comprising a weighted combination of the sampled continuous functions. The weighted combination of sampled continuous functions is optimized by a predetermined error criterion, preferably a least-mean-squares criterion. A further aspect of the present invention comprises a method of optimizing an N-dimensional array of periodically subsampled digital data. The method comprises estimating a correlation tensor which characterizes a subsampling process, and estimating the inverse of the correlation tensor. The periodically subsampled N-dimensional array of digital data is optimized by a convolution process involving the estimated inverse of the correlation tensor. Brief Description of the Drawings Figure 1 is a basic block diagram of image data compression. Figure 2 is a basic block diagram of a spline decimation/interpolation filter. Figure 3 is a basic block diagram of an optimal spline filter. Figure 4 is a vector representation of the image, processed image, and residual image. Figure 5 is a block diagram showing a basic optimization block of the present invention. Figure 6 is a graphical illustration of a one- dimensional bi-linear spline projection. Figure 7 is a schematic view showing periodic replication of a two-dimensional image. Figures 8a, 8b and 8c are perspective and plan views of a two-dimensional planar spline basis. Figure 9 is a diagram showing representations of the hexagonal tent function. Figure 10 is a flow diagram of compression and reconstruction of image data. Figure 11 is a graphical representation of a normalized frequency response of a one-dimensional bi-linear spline basis. Figure 12 is a graphical representation of a one- dimensional eigenfilter frequency response. Figure 13 is a perspective view of a two-dimensional eigenfilter frequency response. Figure 14 is a plot of standard error as a function of frequency for a one-dimensional cosinusoidal image. Figure 15 is a plot of original and reconstructed one- dimensional images and a plot of standard error. Figure 16 is a first two-dimensional image reconstruction for different compression factors. Figure 17 is a second two-dimensional image reconstruction for different compression factors. Figure 18 is plots of standard error for representative images 1 and 2. Figure 19 is a compressed two- miniature using the optimized decomposition weights. Figure 20 is a block diagram of a preferred adaptive compression scheme in which the method of the present invention is particularly suited. Figure 21 is a block diagram showing a combined sublevel and optimal-spline compression arrangement. Figure 22 is a block diagram showing a combined sublevel and optimal-spline reconstruction arrangement. Figure 23 is a block diagram showing a multi-resolution optimized interpolation arrangement. Figure 24 is a block diagram showing an embodiment of the optimizing process in the image domain. Detailed Description of the Preferred Embodiment A novel optimal decimation/interpolation method is disclosed for multi-dimensional image data coding. The principle of operation derives from a least-mean-square error (LMS) -error spline approach, which is extendable to N dimensions. One- and two-dimensional image data compression utilizing linear and planar splines, respectively, are shown to have compact, closed-form optimal solutions for convenient, effective compression. The computational efficiency of this new method is of special interest, because the compression/reconstruction algorithms proposed herein involve only the Fast Fourier Transform (FFT) and inverse FFT types of processors or other high-speed direct convolution algorithms. Thus, the compression and reconstruction from the compressed image can be extremely fast and realized in existing hardware and software. Even with this high computational efficiency, good image quality is obtained upon reconstruction. An important and practical consequence of the disclosed method is the convenience and versatility with which it is integrated into a variety of hybrid digital data compression systems. I. SPLINE FILTER OVERVIEW The basic process of digital image coding entails transforming a source image X into a "compressed" image Y such that the signal energy of Y is concentrated into fewer elements than the signal energy of X, with some provisions regarding error. As depicted in Figure 1, digital source image data 1002 represented by an appropriate N-dimensional array X is supplied to compression block 1004, whereupon image data X is transformed to compressed data Y' via a first generalized process represented here as G(X)«Y' . Compressed data may be stored or transmitted (process block 1006) to a "remote" reconstruction block 1008, whereupon a second generalized process, G'(Y')=X'. operates to transform compressed data Y' into a reconstructed image X' . G and G' are not necessarily processes of mutual inversion, and the processes may not conserve the full information content of image data X. Consequently, X' will, in general, differ from X, and information is lost through the coding/reconstruction process. The residual image or so- called residue is generated by supplying compressed data Y' to a "local" reconstruction process 1005 followed by a difference process 1010 which computes the residue ΔX=X-X' 1012. Preferably, X and X' are sufficiently close, so that the residue ΔX 1012 is small and may be transmitted, stored along with the compressed data Y' , or discarded. Subsequent to the remote reconstruction process 1008, the residue ΔX 1012 and reconstructed image X' are supplied to adding process 1007 to generate a restored image X'+ΔX=X" 1003. In practice, to reduce computational overhead associated with large images during compression, a decimating or subsampling process may be performed to reduce the number of samples. Decimation is commonly characterized by a reduction factor τ (tau) , which indicates a measure of image data elements to compressed data elements. However, one skilled in the art will appreciate that image data X must be filtered in conjunction with decimation to avoid aliasing. As shown in Figure 2, a low-pass input filter may take the form of a pointwise convolution of image data X with a suitable convolution filter 1014, preferably implemented using a matrix filter kernel. A decimation process 1016 then produces compressed data Y' , which is substantially free of aliasing prior to subsequent process steps. While the convolution or decimation filter 1014 attenuates aliasing effects, it does so by reducing the number of bits required to represent the signal. It is "low-pass" in nature, reducing the information content of the reconstructed image X' . Consequently, the residue ΔX 1012 will be larger, and in part, will offset the compression attained through decimation. The present invention disclosed herein solves this problem by providing a method of optimizing the compressed data such that the mean-square-residue <ΔX> is minimized, where "< >" shall herein denote an averaging process. As shown in Figure 3, compressed data Y' , generated in a manner similar to that shown in Figure 2, is further processed by an optimization process 1018. Accordingly, the optimization process 1018 is dependent upon the properties of convolution filter 1014 and is constrained such that the variance of the mean-square-residue is zero, δ<ΔX>=0. The disclosed method of filter optimization "matches" the filter response to the image data, thereby minimizing the residue. Since the decimation filter 1014 is low-pass in nature, the optimization process 1018, in part, compensates by effectively acting as a "self-tuned" high-pass filter. A brief descriptive overview of the optimization procedure is provided in the following sections. A. Image Approximation by Spline Functions i As will become clear in the following detailed description, the input decimation filter 1014 of Figure 3 may be regarded as a projection of an image data vector £ onto a set of basis functions that constitute shifted, but overlapping, spline functions {^(x)} such that 0 where £' is the reconstructed image vector and χ k is the decomposition weight. The image data vector £ is thus approximated by an array of preferably computationally simple, continuous functions, such as lines or planes, 5 allowing also an efficient reconstruction of the original image. According to the method, the basis functions need not be orthogonal and are preferably chosen to overlap in order to provide a continuous approximation to image data, thereby rendering a non-diagonal basis correlation matrix: This property is exploited by the method of the present invention, since it allows the user to "adapt" the response of the filter by the nature and degree of cross-correlation. Furthermore, the basis of spline functions need not be complete in the sense of spanning the space of all image data, but preferably generates a close approximation to image X. It is known that the decomposition of image vector X into components of differing spline basis functions {^(x)} is not unique. The method herein disclosed optimizes the projection by adjusting the weights χ k such that the differential variations of the average residue vanishes, δ<ΔX 2 >«0. or equivalently <Δ_& 2 >=min. In general, it will be expected that a more complete basis set will provide a smaller residue and better compression, which, however, requires greater computational overhead and greater compression. Accordingly, it is preferable to utilize a computationally simple basis set, which is easy to manipulate in closed form and which renders a small residual image. This residual image or residue £ is preferably retained for subsequent processing or reconstruction. In this respect there is a compromise between computational complexity, compression, and the magnitude of the residue. In a schematic view, a set of spline basis functions s ' β {* k } m Y De regarded as a subset of vectors in the domain of possible image vectors S»{χ}, as depicted in Figure 4. The decomposition on projection of £ onto components of S' is not unique and may be accomplished in a number of ways. A preferable criterion set forth in the present description is a least-mean-square (LMS) error, which minimizes the overall difference between the source image £ and the reconstructed image 2_ > Geometrically, the residual image ΔX can be thought of as a minimal vector in the sense that it is the shortest possible vector connecting ^ to .. That is, ΔX might, for instance, be orthogonal to the subspace S' , as shown in Figure 4. As it will be elaborated in the next section, the projection of image vector X onto S' is approximated by an expression of the form: The "best" X is determined by the constraint that ΔX=X-X__ is minimized with respect to variations in the weights χ t : which by analogy to Figure 4, described an orthogonal projection of X onto S' . Generally, the above system of equations which determines the optimal χ k may be regarded as a linear transformation, which maps X onto S' optimally, represented here by: A (χ k ) = X** k (x) , where A ij = , J' i ** j is a transformation matrix having elements representing the correlation between bases vectors Ϋ± and Ϋ } . The optimal weights χ k are determined by the inverse operation A" 1 : χ k -A- iX»* k lx) ) . rendering compression with the least residue. One skilled in the art of LMS criteria will know how to express the processes given here in the geometry of multiple dimensions. Hence, the processes described herein are applicable to a variety of image data types. The present brief and general description has direct processing counterparts depicted in Figure 3. The operation *** ( x ) represents a convolution filtering process 1014, and represents the optimizing process 1018. In addition, as will be demonstrated in the following sections, the inverse operation A" 1 is equivalent to a so- called inverse eigenfilter when taken over to the conjugate image domain. Specifically, DFT χ k = -J DP (X- * k (x) ) , where DFT is the familiar discrete Fourier transform (DFT) and λ„, are the eigenvalues of A. The equivalent optimization block 1018, shown in Figure 5, comprises three steps: (1) a discrete Fourier transformation (DFT) 1020; (2) inverse eigenfiltering 1022; and (3) an inverse discrete Fourier transformation (DFT *1 ) 1024. The advantages of this embodiment, in part, rely on the fast coding/reconstruction speed, since only DFT and DFT" 1 are the primary computations, where now the optimization is a simple division. Greater elaboration into the principles of the method are provided in Section II where also the presently contemplated preferred embodiments are derived as closed form solutions for a one- dimensional linear spline basis and two-dimensional planar spline bases. Section III provides an operational description for the preferred method of compression and reconstruction utilizing the optimal procedure disclosed in Section II. Section IV discloses results of a reduction to practice of the preferred embodiments applied to one- and two-dimensional images. Finally, Section V discloses a preferred method of the filter optimizing process implemented in the image domain. II. IMAGE DATA COMPRESSION BY OPTIMAL SPLINE INTERPOLATION A. One-Dimensional Data Compression bv LMS-Error Linear Splines For one-dimensional image data, bi-linear spline functions are combined to approximate the image data with a resultant linear interpolation, as shown in Figure 6. The resultant closed-form approximating and optimizing process has a significant advantage in computational simplicity and speed. Letting the decimation index T and image sampling period t be fixed, positive integers τ,t=l,2, ..., and letting X(t) be a periodic sequence of data of period nτ , where n is also an integer, consider a periodic, linear spline 1014 of period nr of the type, F( t) = F(t+nτ), ( D where as shown by the functions Ϋ k (t) 1014 of Figure 6 The family of shifted linear splines F(t) is defined as follows: φ k ) = F(t-Jτ) for (k=0 , 1,2, .... (n-1) ) . (3) One object of the present embodiment is to approximate X(t) by the π-point sum: n-l S{ t) =∑X „ * „ (t) (4) k-0 in a least-mean-squares fashion where X 0 , . . . , X n . 1 are n reconstruction weights. Observe that the two-point sum in the interval 0<t<τ is: X 0 0 {t) +X 1 * 1 (t) =X 0 (1-i) +X X (l- Elli) τ .. τ (5) ^X^ {X X ϋ ) l Hence, S(t) 1030 in Equation 4 represents a linear interpolation of the original waveform X(t) 1002, as shown in Figure 6. To find the "best" weights X 0 , . . . . X^^, the quality L(X 0 ,X_, ... ,X„._) is minimized: where the sum has been taken over one period plus T of the data. X k is minimized by differentiating as follows: This leads to the system, of linear equations for X k , where and Y, = ∑X(t)* j (t) for(j=0,l, ...,n-l) (10) The term Y j in Equation 10 is reducible as follows; γ ι Letting (t-jτ) = m, then: T-l Y j = ∑ X(m+_?'τ)F(m) for (j =0,1,2, ... ,_n-l) . (12) The Y j 's in Equation 12 represent the compressed data to be transmitted or stored. Note that this encoding scheme involves n correlation operations on only 2τ-l points. Since F(t) is assumed to be periodic with period nr, the matrix form of A jk in Equation 9 can be reduced by substitution Equation 3 into Equation 9 to obtain: τ-1 A jk = By Equation 13, A jk can be expressed also in circulant form in the following manner: * β < * -*>„ (14) where (k-j) n denotes (k-j) mod n, and a 0 = , a x = β, a 2 - 0, ... , a α . 1 * β (15) Therefore, A jk in Equations 14 and 15 has explicitly the following equivalent circulant matrix representations: (16) One skilled in the art of matrix and filter analysis will appreciate that the periodic boundary conditions imposed on the data lie outside the window of observation and may be defined in a variety of ways. Nevertheless, periodic boundary conditions serve to simplify the process implementation by insuring that the correlation matrix [A jk ] has a calculable inverse. Thus, the optimization process involves an inversion of [A jk ] , of which the periodic boundary conditions and consequent circulant character play a preferred role. It is also recognized that for certain spline functions, symmetry rendered in the correlation matrix allows inversion in the absence of periodic image boundary conditions. B. Two-Dimensional Data Compression by Planar Splines For two-dimensional image data, multi-planar spline functions are combined to approximate the image data with a resultant planar interpolation. In Figure 7, X(t 1# t 2 ) is a doubly periodic array of image data (e.g., still image) of periods n τ and n 2 τ, with respect to the integer variables t x and t 2 where T is a multiple of both t x and t_. The actual image 1002 to be compressed can be viewed as being repeated periodically throughout the plane as shown in the Figure 7. Each subimage of the extended picture is separated by a border 1032 (or gutter) of zero intensity of width T. This border is one of several possible preferred "boundary conditions" to achieve a doubly-periodic image. Consider now a doubly periodic planar spline, Ftt^ t 2 ) which has the form of a six-sided pyramid or tent, centered at the origin and is repeated periodically with periods n-, τ and π 2 τ with respect to integer variables t x and t 2 , respectively. A perspective view of such a planar spline function 1034 is shown in Figure 8a and may hereinafter be referred to as "hexagonal tent." Following the one- dimensional case by analogy, letting: *k, j c ( t i' t 2 ) ,BF( t ι " c ι τ ' t 2 -;c 2 τ) (17) for (k x a0,l, ... ,n-.-l) and (k 2 =0,l, ... ,n 2 -l) , the "best" weights X kχk2 are found such that: is a minimum. A condition for L to be a minimum is n,-l,n,-l n,τ,n,r " Σ *Λ Σ ^' t ^ *_. , £, ) (19) The best coefficients X klk2 are the solution of the 2nd-order tensor equation, A 1XJ*K*, X *.*, B Y JJ, (20) where the summation is on k x and k 2 , A J,*A = (21) and r i . = "∑ ^(t.,t 2 )* Wi (t x ,t 2 ) (22) With the visual aid of Figure 8a, the tensor Y jlj2 reduces as follows: n,τ,π,τ ∑ Xit^.t Flt^J , t 2 - 2 T) (23) t..*,-τ Letting t k -j k τ=m k for k = 1,2, then l U. .m.) (24) for (j j - 0,1, ... ,n_-l) and (j 2 = 0,1, ... ,n 2 -l) , where Ftm^π^) is the doubly periodic, six-sided pyramidal function, shown in Figure 8a. The tensor transform in Equation 21 is treated in a similar fashion to obtain ".-.-.- * JA*A ¥ ix. ix (t 1# t 2 )* k,k. (t^ j ) τ-1 ∑ F(ιπ 1 +(jf 1 -_k 1 ) τ,m 2 +( 2 - 2 )τ)F(m 1 , 2 ) . (25) The values of α, /3, γ, and ξ depend on T, and the shape and orientation of the hexagonal tent with respect to the image domain, where for example m x and m 2 represent row and column indices . For greater flexibility in tailoring the hexagonal tent function, it is possible to utilize all parameters of the [A jlj2klk2 ] . However, to minimize calculational overhead it is preferable to employ symmetric hexagons, disposed over the image domain with a bi¬ directional period T. Under these conditions, β * y**ξ and 7=0, simplifying [A j ^^^] considerably. Specifically, the hexagonal tent depicted in Figure 8a and having an orientation depicted in Figure 8b is described by the preferred case in which β-y=ξ and η=0 . It will be appreciated that other orientations and shapes of the hexagonal tent are possible, as depicted, for example, in Figure 8c. Combinations of hexagonal tents are also possible and embody specific pre._rable attributes. For example, a superposition of the hexagonal tents shown in Figures 8b and 8c effectively "symmetrizes" the compression process. From Equation 25 above, A ll2klk2 can be expressed in circulant form by the following expression: A _λ_*.*.*» = a (k l -j,)n l . \k,-j, ) i - (26) where (k,-j,) n , denote (k x - j_) mod n,, * ?=1,2, and *00 *01 l 02 *a.n,-l *10 *11 *12 1 l.n,-l [a. , ] = *20 *21 »22 *2.n,-l a n,-1.0 a n, • 1.1 *n,-1.2 »n,-l (nj -l where (s x = 0,1,2,... n x -l) and (s 2 « 1,2,3, ... ,n 2 -l) . Note that when [a, 1# , 2 ] is represented in matrix form, it is "block circulant. *' C. Compression-Reconstruction Algorithms Because the objective is to apply the above-disclosed LMS error linear spline interpolation techniques to image sequence coding, it is advantageous to utilize the tensor formalism during the course of the analysis in order to readily solve the linear systems in equations 8 and 20. Here, the tensor summation convention is used in the analysis for one and two dimensions. It will be appreciated that such convention may readily apply to the general case of N dimensions. 1. Linear Transformation of Tensors A linear transformation of a lst-order tensor is written as where A-. is a linear transformation, and Y r ,X, are lst-order tensors. Similarly, a linear transformation of a second order tensor is written as: γ r , r , " A r , rιlιl X, A ( sum on s x , s 2 ) . (29 ) The product or composition of linear transformations is defined as follows. When the above Equation 29 holds, and then = __ A X (31) Hence , is the composition or product of two linear transformations. 2. Circulant Transformation of 1st-Order Tensors The tensor method for solving equations 8 and 20 is illustrated for the 1-dimensional case below: Letting A„ represent a circulant tensor of the form: A rs =a ( » - r ) «odn for(r,s=0,1,2, ... ,n-1) , ( 33 ) and considering the n special lst-order tensors as , 1 , 2 , . . . , n-l) , ( 34 ) where ω is the n-th root of unity, then A r ,W ( ^ ^U)^' , <35 ) where n-1 λ(f) = ∑a^ω' ( 36 ) are the distinct eigenvalues of T-_.h_-*e_-_ ■ terms fcrr ' are orthogonal At this point it is convenient to normalize these tensors as follows: φ ( s I ) evidently also satisfies the orthonormal property, Ψ sVψ {j sl * - β 't.l_ ( 39 ) where δ ti is the Kronecker delta function and * represents complex conjugation. A linear transformation is formed by summing the n dyads φ ( I ) r φ ( I ) r s ' * for I = 0,1,...,n-1 under the summation sign as follows: Then A rs <P {j s « ∑λ(n*,<*)?. .(_i) j-0 Since A r , has by a simple verification the same eigenvectors and eigenvalues as the transformation A,, has in Equations 9 and 33, the transformation H., and ,, are equal. 3. Inverse Transformation of 1st-Order Tensors. The inverse transformation of A τs is shown next to be This is proven easily, as shown below n-1 n-1 =ΣΣ x<f>- i rirfvjy- = ∑∑ X(() _ l τ β„y e " = ∑φ ( 43 ) t'O t'.o A \l ) 1*0 = ∑i(ω')»=∑i(ω » )< =δ rt 4. Solving 1st-Order Tensor Equations The solution of a lst-order tensor equation Y r =A„X is given by A£ Y e = A^A rβ . = b qg X. = X, , 44 ) o that X. = AZlY. = DFT TJT where DFT denotes the discrete Fourier Transform and DFT" 1 denotes its inverse discrete Fourier Transform. An alternative view of the above solution method is derived below for one dimension using standard matrix methods. A linear transformation of a lst-order tensor can be represented by a matrix. For example, let A denote A„ in matrix form. If A Ta is a circulant transformation, then A is also a circulant matrix. From matrix theory it is known that every circulant matrix is "similar" to a DFT matrix. If Q denotes the DFT matrix of dimension (nxn) , and Q' the complex conjugate of the DFT matrix, and Λ is defined to be the eigenmatrix of A, then: A = QKQ r . (46) The solution to y = Ax is then x = A _1 y = OΛ- O' ) • For the one-dimensional process described above, the eigenvalues of the transformation operators are: λU) = ∑a j (w') J (47) = DFΓ J ) . where a 0 = , a_=/3, *n-2' -o, *n-l' --β, and ω n =l Hence: λ(0 = a+βω'+βω ln - l (48) = a+β iω'+ω'') . A direct extension of the lst-order tensor concept to the 2nd-order tensor will be apparent to those skilled in the art. By solving the 2nd-order tensor equations, the results are extended to compress a 2-D image. Figure 9 depicts three possible hexagonal tent functions for 2-dimensioned image compression indices τ=2,3,4. The following table exemplifies the relevant parameters for implementing the hexagonal tent functions: The algorithms for compressing and reconstructing a still image are explained in the succeeding sections. III. OVERVIEW OF CODING-RECONSTRUCTION SCHEME A block diagram of the compression/reconstruction scheme is shown in Figure 10. The signal source 1002, which can have dimension up to N, is first passed through a low-pass filter (LPF) . This low-pass filter is implemented by convolving (in a process block 1014) a chosen spline filter 1013 with the input source 1002. For example, the normalized frequency response 1046 of a one-dimensional linear spline is shown in Figure 11. Referring again to Figure 10, it can be seen that immediately following the LPF, a subsampling procedure is used to reduce the signal size 1016 by a factor T. The information contained in the subsampled source is not optimized in the least-mean-square sense. Thus, an optimization procedure is needed to obtain the best reconstruction weights. The optimization process can be divided into three consecutive parts. A DFT 1020 maps the non-optimized weights into the image conjugate domain. Thereafter, an inverse eigenfilter process 1022 optimizes the compressed data. The frequency response plots for some typical eigenfilters and inverse eigenfilters are shown in Figures 12 and 13. After the inverse eigenfilter 1022, a DFT' 1 process block 1024 maps its input back to the original image domain. When the optimized weights are derived, reconstruction can proceed. The reconstruction can be viewed as oversampling followed by a reconstruction low-pass filter. The embodiment of the optimized spline filter described above may employ a DFT and DFT" 1 type transform processes. However, those skilled in the art of digital image processing will appreciate that it is preferable to employ a Fast Fourier Transform (FFT) and FFT' 1 processes, which substantially reduce computation overhead associated with conjugate transform operations. Typically, such an improvement is given by the ratio of computation steps required to transform a set of N elements: ™lo FFT £l~g 2 (N) log 2 (N) , DFT N 2 2N which improves with the size of the image. A. The Compression Method The coding method is specified in the following steps: 1. A suitable value of r (an integer) is chosen. The compression ratio is τ 2 for two-dimensional images. 2. Equation 23 is applied to find Y j i, j2 # which is the compressed data to be transmitted or stored: Y 1J. = e,.Σe,—r* (t i't2>*jJ. (t i' t a ) = ∑ X(t 1 ,t 2 )F(t 1 -j 1 τ,t 2 - 2 τ) <J. » l ) τ ( l ) τ s ∑ ∑ Xi t l , t 2 ) Fi t l -j l 7, t 2 -j 2 T) t,-(j,-l)τ t.-lj.-Dr B. The Reconstruction Method The reconstruction method is shown below in the following steps: 1. Find the FFT "1 of Yi, j2 (the compressed data) . 2. The results of step 1 are divided by the eigenvalues λ( ,m) set forth below. The eigenvalues λ(l,m) are found by extending Equation 48 to the two-dimensional case to obtain: λU,m) = α + /3 ( ω_ + ω_' + ω_ + ω_" + ω_ω_" + ω_'ω_) . (49) where ω x is the n x -th root of unity and ω 2 is the n 2 -th root of unity. 3. The FFT of the results from step 2 is then taken. After computing the FFT, X kllt2 (the optimized weights) are obtained. 4. The recovered or reconstructed image is : n.-l.n,-l S ( t l t t 2 ) = ∑ ^^(t^t,) . (50) JC..J.-0 5. Preferably, the residue is computed and retained with the optimized weights: ΔX(t x ,t 2 ) = X( t l t t 2 ) -S ( t l t t 2 ) . Although the optimizing procedure outlined above appears to be associated with an image reconstruction process, it may be implemented at any stage between the aforementioned compression and reconstruction. It is preferable to implement the optimizing process immediately after the initial compression so as to minimize the residual image. The preferred order has an advantage with regard to storage, transmission and the incorporation of subsequent image processes. C. Response Considerations The inverse eigenfilter in the conjugate domain is described as follows: H(i , j ) - , . } ,. . (51) λ(i,j) where λ(i,j) can be considered as an estimation of the frequency response of the combined decimation and interpolation filters. The optimization process H(i,j) attempts to "undo" what is done in the combined decimation/interpolation process. Thus, H(i,j) tends to restore the original signal bandwidth. For example, for τ»2, the decimation/ interpolation combination is described as having an impulse response resembling that of the following 3x3 kernel: Then, its conjugate domain counterpart, λ(i,j)| β</ , N , will be λ (i, j) | a.β.N α + 2/3 HTΓH H (53) where i,j are frequency indexes and N represents the number of frequency terms. Hence, the implementation accomplished in the image conjugate domain is the conjugate equivalent of the inverse of the above 3x3 kernel. This relationship will be utilized more explicitly for the embodiment disclosed in Section V. IV. NUMERICAL SIMULATIONS A. One-Dimensional Case For a one-dimensional implementation, two types of signals are demonstrated. A first test is a cosine signal which is useful for observing the relationship between the standard error, the size of T and the signal frequency. The standard error is defined herein to be the square root of the average error: A second one-dimensional signal is taken from one line of a grey-scale still image, which is considered to be realistic data for practical image compression. Figure 14 shows the plots of standard error versus frequency of the cosine signal for different degrees of decimation T 1056. The general trend is that as the input signal frequency becomes higher, the standard error increases. In the low frequency range, smaller values of τ yield a better performance. One abnormal phenomenon exists for the τ=2 case and a normalized input frequency of 0.25. For this particular situation, the linear spline and the cosine signal at discrete grid points can match perfectly so that the standard error is substantially equal to 0. Another test example comes from one line of realistic still image data. Figures 15a and 15b show the reconstructed signal waveform 1060 for τ«2 and τ*»4, respectively, superimposed on the original image data 1058. Figure 15a shows a good quality of reconstruction for τ=2. For τ=4, in Figure 15b, some of the high frequency components are lost due to the combined decimation/interpolation procedure. Figure 15c presents the error plot 1062 for this particular test example. It will be appreciated that the non-linear error accumulation versus decimation parameter T may be exploited to minimize the combination of optimized weights and image residue. B. Two-Dimensional Case For the two-dimensional case, realistic still image data are used as the test. Figures 16 and 17 show the original and reconstructed images for τ=2 and τ=4. For τ=2, the reconstructed image 1066, 1072 is substantially similar to the original. However, for τ»4, there are zig-zag patterns along specific edges in images. This is due to the fact that the interpolation less accurately tracks the high frequency components. As described earlier, substantially complete reconstruction is achieved by retaining the minimized residue ΔX and adding it back to the approximated image. In the next section, several methods are proposed for implementing this process. Figure 18 shows the error plots as functions of T for both images. An additional aspect of interest is to look at the optimized weights directly. When these optimal weights are viewed in picture form, high-quality miniatures 1080, 1082 of the original image are obtained, as shown in Figure 19. Hence, the present embodiment is a very powerful and accurate method for creating a "thumbnail" reproduction of the original image. V. ALTERNATIVE EMBODIMENTS Video compression is a major component of high- definition television (HDTV) . According to the present invention, video compression is formulated as an equivalent three-dimensional approximation problem, and is amenable to the technique of optimum linear or more generally by hyperplanar spline interpolation. The main advantages of this approach are seen in its fast speed in coding/reconstruction, its suitability in a VLSI hardware implementation, and a variable compression ratio. A principal advantage of the present invention is the versatility with which it is incorporated into other compression systems. The invention can serve as a "front- end" compression platform from which other signal processes are applied. Moreover, the invention can be applied iteratively, in multiple dimensions and in either the image or image conjugate domain. The optimizing method can for example apply to a compressed image and further applied to a corresponding compressed residual image. Due to the inherent low-pass filtering nature of the interpolation process, some edges and other high-frequency features may not be preserved in the reconstructed images, but which are retained through the residue. To address this problem, the following procedures are set forth: Procedure (a) Since the theoretical formulation, derivation, and implementation of the disclosed compression method do not depend strongly on the choice of the interpolation kernel function, other kernel functions can be applied and their performances compared. So far, due to its simplicity and excellent performance, only the linear spline function has been applied. Higher-order splines, such as the quadratic spline, cubic spline could also be employed. Aside from the polynomial spline functions, other more complicated function forms can be used. Procedure (b) Another way to improve the compression method is to apply certain adaptive techniques. Figure 20 illustrates such an adaptive scheme. For a 2-D image 1002, the whole image can be divided into subimages of smaller size 1084. Since different subimages have different local features and statistics, different compression schemes can be applied to these different subimages. An error criterion is evaluated in a process step 1086. If the error is below a certain threshold determined in a process step 1088, a higher compression ratio is chosen for that subimage. If the error goes above this threshold, then a lower compression ratio is chosen in a step 1092 for that subimage. Both multi-kernel functions 1090 and multi-local-compression ratios provide good adaptive modification. Procedure (c) Subband coding techniques have been widely used in digital speech coding. Recently, subband coding is also applied to digital image data compression. The basic approach of subband coding is to split the signal into a set of frequency bands, and then to compress each subband with an efficient compression algorithm which matches the statistics of that band. The subband coding techniques divide the whole frequency band into smaller frequency subbands. Then, when these subbands are democ. lated into the baseband, the resulting equivalent bandwidths are greatly reduced. Since the subbands have only low frequency components, one can use the above described, linear or planar spline, data compression technique for coding these data. A 16-band filter compression system is shown in Figure 21, and the corresponding reconstruction system in Figure 22. There are, of course, many ways to implement this filter bank, as will be appreciated by those skilled in the art. For example, a common method is to exploit the Quadrature Mirror Filter structure. V. IMAGE DOMAIN IMPLEMENTATION The embodiments described earlier utilize a spline filter optimization process in the image conjugate domain using an FFT processor or equivalent thereof. The present invention also provides an equivalent image domain implementation of a spline filter optimization process which presents distinct advantages with regard to speed, memory and process application. Referring back to Equation 45, it will be appreciated that the transform processes DFT and DFT" 1 may be subsummed into an equivalent conjugate domain convolution, shown here briefly: If Ω = DFT ( 1/λ , then : X i = DFT [DFT '1 (Q) DFT- χ ( Y k ) ] - Ω* k • Furthermore, with λ ra =DFT(a j ) , the optimization process may be completely carried over to an image domain implementation knowing only the form of the input spline filter function. The transform processes can be performed in advance to generate the image domain equivalent of the inverse eigenfilter. As shown in Figure 24, the image domain spline optimizer Ω operates on compressed image data Y' generated by a first convolution process 1014 followed by a decimation process 1016, as previously described. Off-line or perhaps adaptively, the tensor transformation A (as shown for example in Equation 25 above) is supplied to an FFT type processor 1032, which computes the transformation eigenvalues λ. The tensor of eigenvalues is then inverted at process block 1034, followed by FFT "1 process block 1036, generating the image domain tensor Ω. The tensor Ω is supplied to a second convolution process 1038, whereupon Ω is convolved with the non-optimized compressed image data Y' to yield optimized compressed image data Y' ' . In practice, there is a compromise between accuracy and economy with regard to the specific form of Ω. The optimizer tensor Ω should be of sufficient size for adequate approximation of: DFT 1 ' ( DFT (A) On the other hand, the term Ω should be small enough to be computationally tractable for the online convolution process 1038. It has been found that two-dimensional image compression using the preferred hexagonal tent spline is adequately optimized by a 5x5 matrix , and preferably a 7x7 matrix, for example , with the following form : Additionally, to reduce computational overhead, the smallest elements (i.e., the elements near the perimeter) such as f, g, and h may be set to zero with little noticeable effect in the reconstruction. The principal advantages of the present preferred embodiment are in computational saving above and beyond that of the previously described conjugate domain inverse eigenfilter process (Figure 5, 1018) . For example, a two- dimensional FFT process may typically require about N 2 log 2 N complex operations or equivalently 6N 2 log 2 N multiplications. The total number of image conjugate filter operations is of order 10N 2 log 2 N. On the other hand, the presently described (7x7) kernel with 5 distinct operations per image element will require only 5N 2 operations, lower by an important factor of log 2 N. Hence, even for reasonably small images, there is significant improvement in computation time. Additionally, there is substantial reduction in buffer demands because the image domain process 1038 requires only a 7x7 image block at a given time, in contrast to the conjugate process which requires a full-frame buffer before processing. In addition to the lower demands on computation with the image domain process 1038, there is virtually no latency in transmission as the process is done in pipeline. Finally, "power of 2" constraints desirable for efficient FFT processing is eliminated, allowing convenient application to a wider range of image dimensions. Although the invention has been described in terms of the preferred embodiment, many variations will be apparent to those skilled in the art. All such variations are intended to be included within the appended claims.

Claims: WHAT IS CLAIMED IS: 1. A method of compressing and reconstructing digital data, comprising: applying spline filters to original digital data to generate compressed digital data; applying a predetermined error optimizing process to said compressed digital data to generate substantially optimal compressed digital data; and interpolating said substantiallyoptimal compressed digital data to generate a reconstructed representation of said original digital data. 2. The method as defined in Claim 1, wherein said predetermined error optimizing process comprises a least- mean-squares criterion. 3. The method as defined in Claim 2, wherein said predetermined error optimizing process comprises a process involving the eigenvalues of said spline filter correlation tensor. 4. The method as defined in Claim 3, wherein said predetermined error optimizing process comprises imposing periodic boundary conditions on said original digital data. 5. The method as defined in Claim 1, wherein said interpolating step comprises applying said spline functions to said optimized compressed digital data. 6. The method as defined in Claim 1, wherein said spline functions are piece-wise linear functions of one dimension. 7. The method as defined in Claim 1, wherein said spline functions are piece-wise planar functions of two dimensions. 8. The method as defined in Claim 1, wherein said spline functions are hexagonal tent functions. 9. The method as defined in Claim 1, wherein said spline functions are piece-wise n-planar functions of n dimensions. 10. The method as defined in Claim 1 further comprising: subtracting said reconstructed representation of said original digital data from said original digital data to generate residual digital data. 11. The method as defined in Claim 10, further comprising: adding said residual digital data to said reconstructed representation of said original digital data to generated a restored representation of said original digital data. 12. A method of compressing digital data comprising : applying spline filters to original digital data to generate compressed digital data; and applying a predetermined error criterion to said compressed digital data to generate substantially optimal compressed digital data. 13. The method as defined in Claim 12 further comprising: interpolating said substantiallyoptimal compressed digital data. 14. A method of approximating an array of digital data, comprising: periodically subsampling said array of original digital data using a set of sampled continuous functions to generate an approximation comprising a weighted combination of said sampled continuous functions; and optimizing said weighted combination using a predetermined error criterion. 15. A method of optimizing a set of periodically subsampled digital data comprising: estimating a correlation tensor which characterizes a subsampling process; estimating an inverse of said correlation tensor; and applying said inverse of said correlation tensor to optimize said set of periodically subsampled digital data. — 1 6. An image compression system, comprising: an image receiving terminal, receiving an input image thereon to be compressed to produce an output compressed image; first and second filtering elements, in series with one another, and operating such that an output of one of said filters feeds the other of said filters, said filters including: a first filter which filters the input information in a way to prodcue low pass filtered information that has less energy in less elements than the input image to be compressed; and a mean squared error minimizing filter, having a c h aracteristic which minimizes a mean squared error between the output compressed image and the input image to be compressed. 17. A system as in claim 16 wherein said low pass filter includes a decimation filter and a non-aliasing filter. 18. The system as in claim 16 wherein said low pass filter receives said image, and an output of said low pass filter drives the input of said mean squared error minimizing filter, said mean squared minimizing operating in a decimated domain. 19. Apparatus as in claim 18 wherein said mean squared error filter is a filter which averages the square of an error. 20. A system as in claim 16 wherein characteristics of said mean squared error minimizing filter are based on said first filter and characteristics of a reconstruction low pass filter which reconstructs the compressed signal. 21. The system as in claim 16 wherein said mean squared error minimizing filter is a spline filter. 22. The system as in claim 21 wherein said spline filter is a one dimensional spline filter using a linear spline of the form Ψ k (t) = F(t-kτ) for (k=0,1,2, ... , (n-l) ) . 23. The system as in claim 16 wherein said matching filter is a two-dimensional or greater spline filter using a multi planar spline function of the form *ki 2 ( t i' t 2) = F(t 1 -k 1 τ, t 2 -k 2 τ). 24. A method of optimizing compression of compressible data, comprising: low pass filtering said data in a way which concentrates output information into less areas than those in input data; and supplementally filtering said data, in series with said low pass filtering, in a way to adjust an overall compression of said filters in a way so as to minimize the least mean squared error thereof. 25. A method as in claim 24 wherein said low pass filtering includes a decimating the compressible data. 26. A method as in claim 25 wherein said low pass filtering occurs before said supplemental filtering, so that said supplemental filtering operates in the decimated domain. 27. A method as in claim 24 wherein said supplemental filtering is a spline filtering operation. 28. A method as in claim 27 wherein the output image S(t) is approximated by the N point sum s( t) = n ∑ x k φ k ( t) k'O where X(k) are sampled points, and T k include the linear spline filters. 29. A method as in claim 28 wherein the spline filtering operation is defined as Ψ f c(t) = F(t-kτ) for (k=0,l,2,..., (n-1)) . 30. A method of transmitting an optimized and matched compressed signal, comprising: obtaining an original signal from a signal source of a first type, said first type being compressible; compressing said signal to produce a compressed signal which is not optimized in the least mean squares sense; optimizing an output compressed signal by weighting said compressed signal using weights which optimize the least mean squared errors between the output compressed signal and the original signal; and transmitting the output compressed signal formed as a result of said optimizing and compressing. 31. A method as in claim 30 wherein said compressing comprises low pass filtering said original signal by convolving said original signal with a chosen filter. 32. Method as in claim 30 wherein said compressing comprises decimating the input source.—

Inventors: REED IRVING S, YU ALFRED C, REED, IRVING, S., YU, ALFRED, C.
Applicants: JOHNSON GRACE COMPANY, REED IRVING S, YU ALFRED C, REED, IRVING, S., YU, ALFRED, C.
Application year: 1995
Main classification: G06K9
IPC codes: G06T9, H03M7, H04N1, H04N7