US RE42257 E1 Abstract A computationally efficient modeling system for imagery scales both the original image and corresponding principal component tiles in the same proportion to be able to extract scaled principal components. The system includes recovery of feature weights for the image model by extracting the weights from the reduced size principal component tiles. The use of the reduced size tiles to derive weights dramatically reduces computer overhead both in the generation of the files and in the generation of the weights, and is made possible by the fact that the weights from the scaled down tiles are nearly equal to the weights of the tiles associated with the full size image. The subject system thus reduces computation and the number of bits required to represent features by first scaling the image and then tiling the image in the same proportion. In one embodiment, the scaled down tiles are used as training exemplars used to generate the principal components.
Claims(20) 1. A method for modeling an image comprising the steps of:
tiling an image at a predetermined scale to form small tile segments of the image;
combining the small segments of the image into a data matrix extracting principal components of the data matrix in terms of principal component feature tiles;
generating a set of coefficient weights corresponding to the principal component tiles;
scaling the principal component tiles to reduce the data therewith;
transmitting from a transmitting side the scaled principal component tiles and the weights associated with each image segment to a remote location;
interpolating the principal component tiles at the remote location to obtain full-scale principal component tiles;
computing a weighted sum of full-scale principal component tiles for each segment to obtain a coarse image at full scale;
constructing a coarse image at the transmitting side;
obtaining the difference between the original image and the coarse image at the transmitting side to obtain a residual image;
selecting a finer scale for the residual image;
producing finer scale residual image tiles from the finer scale residual image;
obtaining from the finer scale residual image tiles a finer set of principal component tiles;
forming a weighted sum of the finer-scaled principal component tiles to represent each residual image segment;
transmitting to the remote location the newly-obtained finer principal component tiles and the new weights associated with each residual image segment;
reconstructing the residual image at the remote location from the transmitted new, finer principal component tiles and the new weights associated therewith; and,
at the remote location summing the coarse and residual images to obtain an improved image representation.
2. A method of modeling an image, the method comprising:
generating reduced-size image tiles from an original image in a same proportion as a scaled image of the original image; transforming the reduced-size image tiles into corresponding reduced-size principal component tiles; extracting a set of weights corresponding to the reduced-size image tiles from the reduced-size principal component tiles; and generating an image approximation of the original image from the reduced-size principal component tiles and the extracted weights. 3. The method of
size image tiles. 4. The method of
5. The method of
size image tiles into a data matrix. 6. The method of
size image tiles from the reduced-size principal component tiles comprises multiplying reduced-size principal component tiles and a corresponding segment of the original image. 7. The method of
size principal component tiles and the extracted weights. 8. The method of
9. The method of
10. The method of
11. The method of
12. The method of
13. A method of modeling an image, the method comprising:
obtaining a difference between an original image and a coarse image, the difference defining a residual image; producing finer scale residual image tiles from a finer scale residual image of the residual image; obtaining from the finer scale residual image tiles a finer set of principal component tiles; forming a weighted sum of the finer set of principal component tiles to represent each residual image segment; constructing a reconstructed image from the finer set of principal component tiles and associated weights; and summing the coarse image and reconstructed image to obtain an improved image representation. 14. The method of
15. The method of
16. The method of
17. The method of
18. A system for modeling an image, the system comprising:
an interface configured to receive an original image; and a processor with programmed instructions to: generate reduced-size image tiles from the original image in a same proportion as a scaled image of the original image; transform the reduced-size image tiles into corresponding reduced-size principal component tiles; extract a set of weights corresponding to the reduced-size image tiles from the reduced-size principal component tiles; and generate an image approximation of the original image from the reduced-size principal component tiles and the extracted weights. 19. The system of
size principal component tiles and the extracted weights. 20. A computer program product including a computer readable medium having instructions stored thereon that when carried out by a computer cause the computer to perform the steps comprising:
generating reduced-size image tiles from an original image in a same proportion as a scaled image of the original image; transforming the reduced-size image tiles into corresponding reduced-size principal component tiles; extracting a set of weights corresponding to the reduced-size image tiles from the reduced-size principal component tiles; and generating an image approximation of the original image from the reduced-size principal component tiles and the extracted weights. Description This application claims rights under U.S. Provisional Application Ser. No. 60/353,476, filed Mar. 31, 2002. This application is a Reissue application of U.S. Ser. No. This invention was made with U.S. Government support under Contract No. DAAL01-96-2-0002 with the Army Research Laboratory, and the U.S. Government has certain rights in the invention. This invention relates to image processing and more particularly to an efficient system for image modeling and compression. The extraction of principal components from images is well known, with one extraction technique using neural networks as described in U.S. Pat. No. 5,377,305. Principal components are those which have self-same characteristics or features from one section of an image to another. This self-same characteristic or feature is encoded in principal component tiles in which the image is first subdivided into rectilinear subsections or tiles. A transform is then applied to the tiles which results in a small number of principal component tiles. The dot product of the principal component tiles with the original image results in a set of weights which when transmitted with the principal component tile permits reconstruction of the image. Mathematically speaking the principal components are the basis of a matrix analysis where one is looking for orthogonal tiles ordered by energy. Thus the original image is modeled through extraction of principal components. The modeling at least in one instance permits compression so that the transmission of the image can be accomplished on a reduced time scale. By way of background, as to standard compression methods, first, there is the process of compaction. This is done for conventional applications by some suitable transformation which provides an initial compact representation. In the case of JPEG, for example, the discrete cosine transformation (DCT) provides compaction. Associated with each transformation is a basis. The bases may be of fixed scale as with the JPEG-DCT, or may vary in scale motivated by the prospect for very low bit rate transmission as with current wavelet techniques. Up until recently, standard compression has not been thought suitable for principal component image modeling and compression, which can involve temporal and characteristics other than spatial characteristics. Standard compression methods such as JPEG or wavelet transforms focus only on the spatial characteristics of the image, with JPEG and wavelet transforms being described in U.S. Pat. Nos. 6,347,157; 6,343,155; 6,343,154; 6,229,926; 6,157,414; 6,249,614; 6,137,914; 6,292,591, and 6,298,162. Standard image compression uses fixed bases. The results are good for standard imagery and are oriented to same. However, for more exotic imagery, e.g., hyperspectral imagery, there is a need for new modeling and compression techniques. More specifically, in hyperspectral imagery the number of features used to characterized an image is multiplied. For instance, non-spatial features such as heat, hardness, texture, and color are often times used in image presentation. The fixed basis of JPEG and others cannot handle the expanded feature set associated with hyperspectral imagery. Nor can these techniques handle voxels which are used to encode numbers of additional features of an image. Transmission of voxel images is computationally intense and less computationally intense compression techniques are required for their transmission. In the past, principal component analysis has been used to indicate what features or characteristics of an image are to be utilized in a compression process. Such characteristics can be spatial or temporal or indeed any of a wide variety of characteristics such as for instance color, heat, or other hyperspectral components. In order to achieve modeling or indeed compression, it is important to identify correlations in an image. How to do this in a computationally efficient manner and one which is universal across all platforms is a challenge. By way of further background, there are currently two main compression techniques and both are dependent on fixed bases. One, the JPEG standard, is based on the DCT transform to provide compaction. The essence of this technique is based on two factors: the approximation of the Karhunen-Loeve (KL) transform by the DCT and the extent of the autocorrelation function which seems to optimize for most images to 8×8 tiles. Using these factors, the JPEG compression standard made a compromise decision omitting the use of scale. The initial DCT transform on 8×8 tiles provides compaction which is then further compressed using zigzag scanning followed by run length and Huffman coders. JPEG produces good images at moderate compression. The other relevant technique is wavelet compression. Wavelet technology has challenged assumptions in the JPEG standard on several fronts. Most important, scale is implicit to wavelet techniques. Scale allows ordered extraction of fine and coarse features. Use of scale, from fine to coarse, means that subsequent decomposition will be on decimated image. As a result, wavelet decomposition which provides control over computation is limited by decimation. Each level has ¼ the points of the previous level so computation is about 1.33 N As will be seen, in the subject invention a method is described which makes feasible a complete principal component analysis of an image (whether standard or hyperspectral). This is because the subject system includes a method which significantly reduces computation. Moreover, the features derived are image adaptive, unlike fixed basis methods, with the adaptability allowing the possibility of better representation, especially for non-standard imagery. In one embodiment, the subject system allows extraction of principal components from any kind of image in a computationally efficient manner. The method is based on self-similarity in the same way the wavelet methods described above are based on self-similarity. However, in the subject invention the goal is to introduce scale not just for its own sake but also to reduce computation and the overhead of using data adaptive features. While there are methods for image compression and methods for principal component extraction, the combination of using principal component features to represent imagery while extracting them in a computationally efficient way is unique. In the subject invention, a computationally efficient modeling system for imagery scales both the original image and corresponding principal component tiles in the same proportion to be able to extract scaled principal components. The system includes recovery of feature weights for the image model by extracting the weights from the reduced size principal component tiles. The use of the reduced size tiles to derive weights dramatically reduces computer overhead, and is made possible by the finding that the weights from the scaled down tiles are nearly equal to the weights of the tiles associated with the full size image. In short, not only are the scaled down images self similar, the scaled down tiles are self similar. This permits the scaled down tiles to be used to generate weights. Using scaled down tiles dramatically reduces computation and the number of bits required to represent features. First scaling the image and then tiling the image in the same proportion provides reduced size tiles which when dot multiplied by the original image produces the required weights. Image transmission involves transmitting only the principal component tiles and the weights which effects the compression. The computational savings using the scaled down tiles is both in generating the tiles and in generating the weights. In one embodiment, the scaled down tiles are used as training exemplars used to generate the principal components. Departure from prior scaling techniques results in a system in which not only is the image scaled, so are the tiles. Since the tiles associated with a scaled down image are similar to tiles extracted from the full size image, the scaled tiles can be used to generate the weights for creating an image model. The subject invention rests on this finding that 1) for principal component extraction the full scale image may be scaled down and 2) the image can be decomposed into a number of smaller sized tiles. It is a finding of the subject invention that these tiles will in fact be similar to the larger tiles extracted from full image. In short, it is the finding of the subject invention that the smaller tiles will in fact be similar to the larger tiles extracted from the full size image. It is also the finding of the subject invention that principal component tile weights computed from the reduced size and full size images will be almost identical. This permits interpolation between the smaller and larger sized tiles so that the principal component features can be weighted with the extracted weights from the reduced sized tiles, along with the reduced sized tiles themselves being interpolated into full size tiles utilized to reconstruct the original image. In summary, a computationally efficient modeling system for imagery scales both the original image and corresponding principal component tiles in the same proportion to be able to extract scaled principal components. The system includes recovery of feature weights for the image model by extracting the weights from the reduced size principal component tiles. The use of the reduced size tiles to derive weights dramatically reduces computer overhead both in the generation of the files and in the generation of the weights, and is made possible by the fact that the weights from the scaled down tiles are nearly equal to the weights of the tiles associated with the full size image. The subject system thus reduces computation and the number of bits required to represent features by first scaling the image and then tiling the image in the same proportion. In one embodiment, the scaled down tiles are used as training exemplars used to generate the principal components. These and other features of the subject invention will be better understood in connection with the Detailed Description in conjunction with the Drawings, of which: Referring to In order to extract principal components relating to features of the image, a transform The principal component feature tiles In the generation of the weights the principal component feature tiles are multiplied with the segment of the original image to which they apply such that a dot product results. This dot product results in a weight for each of the segments of the original image. These weights, herein illustrated at It will be appreciated that if for instance the original image was 512×512 in one embodiment the principal component feature tiles would be a stack of 16×16 tiles. Thus while there would be significant compaction in this compression process, easily a 20 to 1 reduction in transmitted data, the computational load for generating the tiles using of transform Referring to It is the finding of this invention that such scaled principal component feature tiles in fact result in appropriate weights such that the reconstruction can take place utilizing the weights generated and the scaled principal component feature tiles. In order to reconstruct the full size approximation of the original image as shown at As will be seen, an original 512×512 image is scaled down to a 256×256 image which results in scaled extraction feature tiles going from 16×16 to 8×8. It is a finding of the subject invention that the weights associated with the dot product of the scaled principal component feature tiles with a scaled image and the full size principal component feature tiles multiplied with the full scale image are nearly equal. The result is that one may train on a scaled image with scaled features and recover feature weights which constitute the image model. By utilizing scaled images and scaled feature tiles one can reduce the computation load by a factor of 4. This factor may be increased for multiple levels of decomposition. Referring now to As illustrated by dotted line Referring to Note that with respect to In obtaining the result of Since the Hilbert scan is fractal in nature, the first 8×8 tile contains the first four 4×4 tiles, the second 8×8 tile contains the next four 4×4 tiles and so forth. This allows scaling without reconstituting the image while maintaining the Hilbert scanned order in all scales. Although the results in In the subject invention it is the finding that one can use scale to limit the computation that is done. How this is done is as follows: suppose one scales an image by averaging adjacent points. Then, for example, a 512×512 image could become a 256×256 image. Looking at the two images does not reveal much difference in the images in that they appear to be similar. The question then becomes would similarly scaled extraction of tiles yield similar principal component features. It is the finding of the subject invention that the answer to this question is yes. This is especially true for simple features where averaging and aliasing typically do not have a large effect. The net result is that one can have reduced computation by a factor proportional to the square of the scaling. Moreover, one may reconstruct the full scale principal component feature tiles using interpolation although one only needs to send the scaled principal component feature tiles. Therefore, one can also reduce the overhead in transmitting the principal component feature tiles by a factor proportional to scaling squared. What this means, referring back to It will be noted that if one has multiple levels of decomposition, the above savings will be increased, albeit with a minor loss in PSNR or rate this is because of the averaging of the image and the coarseness of the scaled tiles. However, this may not be noticeable. In order to practice the subject invention one first scales the image to the appropriate level. Then one scales the image tiles. Then, one trains on the scaled image tiles and transmits the scaled principal component tiles and the coefficient weights to a receiver. One then optionally interpolates the scaled principal component feature tiles and uses them with the weights to construct an image model. Finally one repeats the process on the current image residual for all scales taking direct sum of image models to obtain the final model. This process yields an image model of good fidelity requiring much less computation and fewer bits transmitted for the principal component tiles. The down side is some small loss in PSNR or, correspondingly, increase in rate for the same PSNR. However, can be seen in As can be seen from As expected, computations for the scale feature extraction is about ⅝ of the original scheme, with the advantage improving dramatically as one adds more levels of processing. Having now described a few embodiments of the invention, and some modifications and variations thereto, it should be apparent to those skilled in the art that the foregoing is merely illustrative and not limiting, having been presented by the way of example only. Numerous modifications and other embodiments are within the scope of one of ordinary skill in the art and are contemplated as falling within the scope of the invention as limited only by the appended claims and equivalents thereto. Patent Citations
Non-Patent Citations
Classifications
Legal Events
Rotate |