摘要:
A data encoder and method encodes color image data. The image data include Y, U and V data. A data image quality level is selected, which corresponds to a compression ratio. The Y data is encoded using a wavelet or wavelet-like compression method in accordance with the selected data image quality level. When the compression ratio is less than a threshold value, indicating a low compression ratio, the U and V data are compressed using a JPEG compression method. Otherwise the U and V data are compressed using the wavelet or wavelet-like compression method. The encoded image data includes an indication of which compression method was used to encode the U and V data. When encoded image data is decoded by a data decoder, the decoder determines which compression method was used to encode the U and V data, and then decodes the encoded image data accordingly.
摘要:
A digital camera includes a data capture device and data processing circuitry for processing image data representing captured images. The data processing circuitry processes tiles of the image data in a predefined order to generated processed image data, which is then stored as a data image file. The tiles are nonoverlapping portions of the image data. Each tile of image data is processing by applying a predefined sequence of transform layers to the tile of image data so as to generate successive layers of transform coefficients. In a preferred embodiment, the transform layers are successive applications of a wavelet-like decomposition transform. While each tile is processed, a predefined set of edge transform coefficients from a plurality of the transform layers are saved in memory for use while processing neighboring tiles. Further, the step of processing each tile includes applying at least a plurality of the transform layers to both transform coefficients generated by a prior transform layer and corresponding ones of the edge transform coefficients that were previously saved in memory while processing tiles neighboring the tile being processed. However, for some tiles along the edge of the image, there will be no edge transform coefficients from previously processed tiles to be used while processing the current tile.
摘要:
A wavelet transform system and an inverse wavelet transform system are disclosed that respectively implement a wavelet transform and an inverse wavelet transform. Semi-orthogonal standard wavelets are used as the basic wavelets in the wavelet transform and the inverse wavelet transform. As a result, two finite sequences of decomposition coefficients are used for decomposition in the wavelet transform. Furthermore, two finite sequences of reconstruction coefficients that are derived from the two finite sequences of decomposition coefficients are used for reconstruction in the inverse wavelet transform. The finite sequences of decomposition and reconstruction coefficients are not infinite sequences of coefficients that have been truncated. Furthermore, in one embodiment, downsampling is not used in the wavelet transform and upsampling is not used in the inverse wavelet transform.
摘要:
An image processing system stores image files in a memory device at a number of incremental quality levels. Each image file has an associated image quality (that is fidelity or resolution) level corresponding to a quality level at which the corresponding image has been encoded. The images are initially encoded by applying a predefined transform, such as a DCT transform or wavelet-like transform, to image data received from an image capture mechanism and then applying a data compression method to the transform data. The image is regenerated by successively applying a data decompression method and an inverse transform to an image file. Image file size reduction circuitry and one or more state machines are used to lower the quality level of a specified one of the image files, including circuitry for extracting a subset of the data in the specified image file and forming a lower quality version of the specified image file that occupies less space in the memory device than was previously occupied by the specified image data structure. As a result, the amount of space occupied by image files in the memory device can be reduced so as to make room for the storage of additional image files or to allow more rapid transmission in a restricted bandwidth environment.
摘要:
A data encoder and method utilizes a node list for storing a list of nodes in the data array to be processed, a branch list for storing a list of tree branches in the data array to be processed and a set list for storing a list of data sets. The method begins by initially storing in the node list node identifiers representing a predefined set of nodes in the data array, corresponding to coefficients generated by a last iteration of a data decomposition procedure. Also, it initially stores in the branch list branch identifiers representing tree branches corresponding to a predefined subset of the nodes initially listed in the node list. Each such tree branch has an associated root node and a branch depth value indicating how many node layers intervene between the root node and the nodes of the tree branch closest to the root node. The set list is initially empty, and a parameter called the LayerLimit value is also initialized. For successively smaller values of m, where m is a positive integer, a set of data encoding steps are repeatedly performed so as to process all nodes, branches and sets in the lists. A magnitude flag is output for each node, branch and set to indicate whether or not it is or contains a node whose absolute value is equal to or larger than 2.sup.m-1, and for each node, branch and set that is equal to or larger than 2.sup.m-1 further processing is performed.
摘要:
A data encoder and method successively analyzes successively smaller blocks of a specified data array. Data blocks are analyzed in a predefined order, and corresponding entries identifying data blocks containing at least one non-zero value are stored in that same order in a list of blocks. Whenever a data block is processed, if the data block is entirely filled with zero data it is so identified in the output data and no further processing of the subblock is required. Otherwise, if the size of the data block is greater than a predefined minimum block size (e.g., 2.times.2), the block is divided into smaller data blocks and those smaller data blocks are put on the list of blocks for further processing. Finally, if the size of a data block that is being processed is the predefined minimum block size, values representing all the data items in that data block are written into the output data. Information identifying the number of bits required to encode the maximum data value in each data block is written into the output data in the same order that the blocks are analyzed, thereby enabling a decoder procedure to determine the number of data bits used to encode each data value stored in the output data. A data decoder and method retraces the encoded data so as to reverse the process performed by the encoding method. The encoder and decoder can be implemented in either hardwired logic or computer software.
摘要:
A method and system for compressing and decompressing a sequence of image frames is disclosed. According to the disclosed embodiments of the invention, the compression process includes an intraframe decomposition process (24, 24') performed upon each frame in both the row and column directions, including an m.sup.th order averaging and differencing operation (56, 62). Each frame is then combined with others in an adjacent pair or group of four by way of an interframe decomposition (28). Quantization (30) is then performed, preferably by division of each coefficient by a quantizer (.rho.) associated with the one of the frequency component subbands containing the coefficient. Reconstruction of the compressed frames is accomplished by performing the inverse of the compression process. According to the disclosed embodiments, either the compression or decompression processes and systems performs Cholesky filtering (60, 66; 170, 172), preferably in a recursive manner by way of forward and backward filtering. In this way, one or the other of the compression system (CS) or decompression system (DS) is relieved from a significant amount of computing burden.
摘要:
A data encoder and method successively analyzes successively smaller blocks of a specified data array. Data blocks are analyzed in a predefined order, and corresponding entries identifying data blocks containing at least one non-zero value are stored in that same order in a list of blocks. Whenever a data block is processed, if the data block is entirely filled with zero data it is so identified in the output data and no further processing of the subblock is required. Otherwise, if the size of the data block is greater than a predefined minimum block size (e.g., 2.times.2), the block is divided into smaller data blocks and those smaller data blocks are put on the list of blocks for further processing. Finally, if the size of a data block that is being processed is the predefined minimum block size, values representing all the data items in that data block are written into the output data. Information identifying the number of bits required to encode the maximum data value in each data block is written into the output data in the same order that the blocks are analyzed, thereby enabling a decoder procedure to determine the number of data bits used to encode each data value stored in the output data. A data decoder and method retraces the encoded data so as to reverse the process performed by the encoding method. The encoder and decoder can be implemented in either hardwired logic or computer software.
摘要:
A method and apparatus for performing video image compression and decompression are disclosed. The video image compression is performed using boundary-spline-wavelet decomposition, in which the wavelets applied to sample locations at the boundaries of image intervals are different from those applied to sample locations within the intervals. As a result, boundary effect artifacts that arise from the use of wavelets requiring support outside of the interval are avoided. The decomposition is performed first for horizontal rows of the image data, and then in a vertical direction upon the results of the first decomposition. Quantization serves to locally round off the higher frequency components of the decomposition, and the decomposition is repeated until the desired compression ratio is obtained. Lossless compression may then be applied to the decomposed image data, and the compressed image is transmitted or stored, depending upon the application. Decompression is effected by lossless decompression of the received data, followed by reconstruction of the image using boundary-spline-wavelets, repeated as necessary to fully reconstruct the image. The reconstructed image can then be displayed on a conventional video display. Compression and decompression of still images with even higher compression ratios may also be performed, while maintaining the high quality of the image.
摘要:
A method and related system of encoding or re-encoding video is disclosed. In the method, video data comprising a sequence of frames is received. For a respective frame in the sequence of frames, a multi-level frame is generated comprising the respective frame and a plurality of copies of the respective frame. Each copy has an associated video resolution level that is a member of a predefined range of video resolution levels, ranging from a highest video resolution level to a lowest video resolution level. The multi-level frame is encoded.