FIXED QUALITY SOURCE CODER

Abstract: A fixed quality source coder (20) receives and performs VQ on an input signal ID. The fixed quality source coder (20) includes an encoder (28) and may also include a decoder (34). The encoder may include a lossy codec (52) that receives and encodes the signal ID to provide encoded information (38) to a multiplexer (30) regarding the signal ID. The lossy codec (52) also decodes the encoded signal to produce a decoded signal IVQ<-1> (62). A summer (66) receives ID and IVQ<-1> and determines an error signal ER (70) where ER equals ID - IVQ<-1>. A threshold circuit (74) receives the signal ER and passes a truncated error signal ET'. The threshold level T may be set to ensure that the maximum error allowed in the encoder (28) is equal to a particular desired maximum error.

Description: FIXED QUALITY SOURCE CODER Technical Field: The present invention relates to a source coder and, more particularly, to a fixed quality source coder with a fixed threshold that may be used in compression of medical image data. Background Art: In a normal hospital radiological environment, a large amount of medical image data is generated from different modalities, such as, computed tomography (CT), magnetic resonance (MR) imaging, and computed radiography (CR). Devices that process the image data typically include an analog- to-digital converter (ADC) that converts analog image data to digital image data. Converting to digital image data serves two purposes. First, there are certain advantages in processing digital rather than analog data. Second, the process of digitizing analog data has the potential of more efficiently compressing the analog data because the compressed digital data can take less memory space to store. A quantizer is a device that represents one signal that can take on a large number of values by another signal that can take on only a limited number of values. A four-bit ADC, for example, represents the value of a continuously varying (i.e.. analog) signal by a digital signal that can have only one of sixteen values. Scalar quantizers operate on signals having a single degree of freedom, such as an ADC operating on a voltage signal. ADCs perform "scalar quantization" (SQ) in that each sample is unrelated to the previous and next samples. Referring to Fig. 1, a traditional source coder 10 includes a low pass filter 12, a sample and hold circuit (S/H) 14, and an n-bit ADC 16. Typically, S/H 14 and ADC 16 work together. Low pass filter 12 removes high frequency components from the analog input signal to prevent aliasing problems. S/H 14 samples the continuous waveform into a discrete analog signal on conductor 15 that is digitized by ADC 16, which typically is a uniform scalar quantizer that converts the analog signal into one of a finite number of uniformly spaced levels spanning the analog range. The sampling rate of S/H controls the number of r x s samples/frame of an image. For example, a typical value for r x s samples/frame is 512 X 512 samples/frame. ADC provides a digital signal I^ to conductor 18. Because there are a finite number of sampling points for sample and hold circuit 14 and a finite number of levels in ADC 16, the conversion of the original analog signal to a digital signal I D0 introduces quantization error when compared to the original analog signal. All ADCs have a finite number of levels and all ADCs have quantization distortion. Because a finite number of levels are used to represent the data accurately, some data compression occurs in all ADCs. Vector quantizers, by contrast, operate on signals having multiple degrees of freedom. In contrast to SQ, vector quantization (VQ) deals with a block of samples or vector at once, and as a result VQ has some performance advantages as compared with scalar quantization. VQ can be viewed as pattern matching, where input patterns or vectors are approximated by one of many stored patterns in a codebook. The resulting quantization error from such an approximation clearly depends upon how well the stored patterns, referred to as code vectors, represent the input vectors. Consequently, codebook generation may be greatly improved by prior knowledge of the information source and is important to the performance of VQ. Consider an image that is divided into numerous small areas called pixels (for picture element). Pixels are sufficiently small that the intensity of the image is approximately constant across the pixel area. For example, a black and white image of a house might be divided into a grid of 600 rows and 600 pixels per row. Each pixel would be like a small dot in the image. A block or group of pixels in the same region would form a vector which can be thought of as a small subimage. For example, a 6 x 6 square block of pixels forms a 36 element vector, which may be a portion of a shadow or part of the roof line against a light background. Mean-removed VQ (MRVQ) is a special case of product codes. Product codes refer to a family of vector quantization methods in which one large codebook is replaced by more than one smaller codebook. As a result, the vector space represented by the overall quantizer is given as the Cartesian product of smaller vector spaces, and hence the name product codes. In MRVQ, the sample mean of each input vector is computed and then subtracted from every vector component. The resulting mean removed, or residual, vector is then vector quantized. The utility of MRVQ is that the residual vectors can be adequately represented with many fewer code vectors as compared to the original image vectors. The mean of each vector is also coded and included along with each code vector index. Since the mean is a scalar quantity, it is scalar quantized. As a result, the mean includes all of the possible quantization levels of the scalar quantizer. MRVQ can provide a significant reduction in the overall complexity of a VQ system as compared to direct VQ. It is desirable to apply a high quality compression in order to reduce storage costs. Data compression techniques are typically classified as either lossy or lossless. Lossy algorithms are capable of high compression ratios, but they may distort the data in some way which is not tolerable for some diagnostic medical images. Lossless algorithms do not distort the data, but they are limited to much lower compression ratios. It is noteworthy that an ADC with a finite number of levels with binary codes is a lossy compressor because there is quantization error. In many applications, the ADC outputs are losslessly sent to the decoder, but there still is quantization error of the original ADC at the decoder. DISCLOSURE OF INVENTION A fixed quality source coder receives and performs VQ on an input signal I D . The signal I D may be characterized by the number of bits/sample (intensity) and the number of samples/frame (spatial resolution), and may be provided by a traditional source coder. The traditional source coder may include a sample-and-hold (S/H) circuit producing r x s samples/frame and an ADC providing n bits per pixel. In a first embodiment, the number of bits/sample is increased. In the second embodiment, the number of samples/frame is increased. In a third embodiment, both the number of bits/sample and the number of samples/frame are increased. Measurements made in simulations involving the first and second embodiments show that the fixed quality source coder has a smaller data rate, mean absolute error (MAE) and root mean square error (RMSE) than that of the traditional source coder, while maintaining the same or less maximum error. It is believed that the third embodiment would have superior results to that of the first and second embodiments. The fixed quality source coder includes an encoder and may also include a decoder. The encoder may include a lossy codec that receives and encodes the signal I D to provide encoded information to a multiplexer regarding the signal I D . The lossy codec also decodes the encoded signal to produce a decoded signal I VQ '1 . A summer receives I D and I VQ "1 and determines an error signal E R , where E R may equal I D - I VQ " ' . A threshold circuit receives the signal E R and passes a threshold signal Er, which may perform the following equation: Ε_ = E R - T when E R > T, Er = 0 when -T < E R ≤ T, and E f = E R + T when E R < -T. (Of course, the decisions at the equalities could be different, such as, for example, Ex = E R - T when E R ≥ T, Er = 0 when -T < E R < T, and Er = E R + T when E R < -T.) The threshold level T may be set to ensure that the maximum error allowed in the encoder is equal to a particular desired maximum error. This allows a particular user to set a maximum error. The threshold level T may be changed by the user. The maximum error may be equal to the least significant bit of an n-bit ADC or to some other greater or lessor value. The signal E~ is then received by a preferably lossless encoder that produces an error component signal Ej. The decoder receives and decodes the signal Ε- and the encoded information to produce I RU , which is a reconstruction of the original signal I D . BRIEF DESCRIPTION OF DRAWINGS Fig. 1 is a schematic of a prior art source coder. Fig. 2 is a block diagram of a fixed quality source coder in combination with a traditional source coder according to a first embodiment of the present invention. Fig. 3 is a block diagram of a circuit used to make comparisons between the fixed quality source coder of a first embodiment of the present invention and a traditional source coder. Fig. 4 is a table showing theoretical mean absolute error (MAE), root mean square error (RMSE), and maximum error values for the traditional source coder when it is encoding uniformly distributed random noise. The results are shown for cases of truncation and rounding the k least significant number of bits, where k = 1, 2,.., 6. Fig. 5 is a table showing the measured RMSEv QSC .„ and Max Error VQSC .ι results of the fixed quality source coder of the present invention for tested MR, CT, and DR images and particular bits per pixel (bpp). Fig. 6 is a table showing SQ to VQSC-I compression ratio (CR-I), SQ to VQSC-I mean absolute error ratio (MAER-I) and SQ to VQSC root mean square error ratio (RMSER-I), where SQ is performed by truncation. Fig. 7 is a table showing SQ to VQSC-I Compression ratio (CR-I), SQ to VQSC-I mean absolute error ratio (MAER-I) and SQ to VQSC-I root mean square error ratio (RMSER-I), where SQ is performed by rounding. Fig. 8 is a graph showing average error versus column number for MR images of VQSC-I and SQ. Fig. 9 is a graph showing average error versus column number for DR images of VQSC-I and SQ. Fig. 10 is a graph showing average error versus column number for CT images of VQSC-I and SQ. Fig. 11 is a block diagram of a fixed quality source coder in combination with a traditional source coder according to a second embodiment of the present invention. Fig. 12 is a block diagram of a circuit used to make comparisons between the fixed quality source coder of the second embodiment of the present invention and a traditional source coder. Fig. 13 is a table showing the measured MAE sQ . π , RMSE sQ . π , and Max Error SQ . π results of the traditional source coder for MR, DR, and CT images, for particular bits per pixels. Fig. 14 is a table showing the measured MAE vQSC . π , RMSEv QSC __ π , and Max Error VQSC . π results of the traditional source coder for MR, DR, and CT images, for particular bits per pixels. Fig. 15 is a table showing SQ to VQSC-II compression ratio (CR-I), SQ to VQSC-π mean absolute error ratio (MAER-I) and SQ to VQSC-π root mean square error ratio (RMSER-II). Fig. 16 is a graph showing average error versus column number for MR images of VQSC and SQ. Fig. 17 is a graph showing average error versus column number for DR images of VQSC and SQ. Fig. 18 is a graph showing average error versus column number for CT images of VQSC and SQ. Fig. 19 is a block diagram of a fixed quality source coder in combination with a traditional source coder according to a third embodiment of the present invention. Fig. 20 is a block diagram of controls allowing the user to set the value of threshold T. MODES FOR CARRYING OUT THE INVENTION A. Structure and Operation Referring to Fig. 2, the present invention includes a combination of a fixed quality source coder (hybrid coder) 20 with traditional source coder 10 in which the number of bits/pixel (intensity) and/or samples per frame (spatial resolution) is increased. In the particular embodiments described in connection with Fig. 2, the bits/pixel is increased, but the samples/frame remains the same as that of a traditional source coder. First and second embodiments of the invention illustrate the performance of fixed quality source coder 20. In the first embodiment, illustrated in Fig. 2, the intensity (or pixel depth) of the signal I D1 received by fixed quality source coder 20 is increased by increasing the number of bits of ADC 16 in traditional source coder 10. In the second embodiment, illustrated in Fig. 11, the spatial resolution of the signal I D2 received by fixed quality source coder 20 is increased by increasing the sampling rate of S/H 14 (and, if necessary, the cut-off frequency of low pass filter 12). As compared to traditional source coder 10 alone without the increased intensity or spatial resolution, the first and second embodiments have a substantially better compression ratio, better average error and data rate, and at least as good maximum error. A third embodiment, illustrated in Fig. 19, is a combination of the first and second embodiments, both the intensity and spatial resolution are increased. It is believed that the third embodiment will have superior results to that of the first and second embodiments. As used herein, S/H 14 operates at r x s samples/frame (e.g. 512 X 512), and S/H 22 is a sample-and-hold circuit operating at R x S samples/frame (e.g. 1024 X 1024). Note that the cut-off frequency of low pass filter 12 may be adjusted depending on the frequency of S/H 14 or S/H 22. ADC 16 is an n-bit ADC and ADC 24 is an n + k bit ADC, where k is a positive integer. For comparison purposes only, R r = 1,2,..., and S/s = 1,2,.... However, no particular value of R, r, S, or s are required. The combination of S/H 14 and ADC 16 produces signal Iuo on conductor 18, as shown in Fig. 1. The combination of S/H 14 and ADC 24 produces signal I D1 on conductor 18, as shown in Fig. 2. The combination of S/H 22 and ADC 16 produces signal I D2 on conductor 18, as shown in Fig. 11. The combination of S/H 22 and ADC 24 produces signal I D3 on conductor 18, as shown in Fig. 19. Signal "I D " is used to represent a generalized signal that could be I D1 , I D2 , or I D3 depending on which embodiment is employed. The value of fixed quality source coder 20 becomes apparent when it is considered that the extra expense and space associated increasing the number of bits of ADC 16 or increasing the sampling rate of S/H 14 is minuscule in comparison with the saving reaped by reduced memory requirements. At the same time, doctors and hospitals can be assured that a particular maximum error level is met. Referring to Fig. 2, a preferred embodiment fixed quality source coder 20 includes an encoder 28, a multiplexer 30, a demultiplexer 32, and a decoder 34. Fixed quality source coder 20 receives signal I D1 conductor 18 from S/H 14 and ADC 24. Typically, there is a storage device and/or a transmission link between multiplexer 30 and demultiplexer 32. Where the data is stored for later use, the amount of memory in the storage device is typically enormous. Encoder 28 produces an encoded information signal I MR on conductor 38 regarding signal I D1 and an error component signal Ej- on conductor 40, which are provided to multiplexer 30. An overscore signifies that a parameter is vector quantized. In a preferred embodiment of fixed quality source coder 20, the encoded information 1-^ includes a mean residual vector quantizer (MRVQ) component and address information. Multiplexer 30 provides a signal I VQSc - As used herein, VQSC signifies "vector quantization source coder" and represents fixed quality source coder 20. VQSC-I signifies "vector quantization source coder" with respect to the first embodiment of the invention. VQSC is contrasted with SQ, which signifies scalar quantization and represents traditional source coder ADC 10, as shown in Fig. 1. The information in multiplexer 30 may be stored and later reconstructed as follows. Demultiplexer 32 provides MRVQ component and address information I MR and error component R- on conductor 44 and 46, respectively, which are received by decoder 34. Decoder 34 includes a lossless decoder 86, a lossy decoder 90, a threshold circuit 94, and a summer 98, together which perform the inverse of encoder 28 to provide a reconstructed digital signal 1^, having r x s samples/frame and n + k bits per sample. Ideally, I RK , is identical to I D1 , but in practice l^- will be only a very close approximation of I D1 . Encoder 28 includes a lossy codec 52 that receives signal I D1 . Lossy codec 52 includes an encoder that performs VQ on signal I D1 to produce encoded information signal I MR on conductor 38, and a decoder that produces a signal I VQ "1 , which is a reconstruction of signal I D1 . Lossy codec 52 may perform any of a variety of VQ techniques or other lossy techniques. These techniques include, but are not limited to, tree-structured VQ (TSVQ), multi-stage VQ (MSVQ), hierarchical VQ (HVQ), and JPEG. Adaptive algorithms may be employed in adaptive tree search vector quantization (ATSVQ), multi-stage adaptive search VQ (MASVQ), and hierarchical adaptive search vector quantization (HASVQ). TSVQ has low encoding complexity and performance that is close to the optimal full search encoder for VQ. MSVQ is a product code technique and has the same low complexity as TSVQ. However, the memory requirement for a MSVQ codebook is directly proportional to the number of stages while the memory requirement for a TSVQ codebook is exponentially proportional to the codebook address size. In MSVQ, the performance improvement rapidly degrades as the number of stages increases. In MRVQ, the mean of each vector is subtracted from each vector component before the codebook generation process begins. For reasonably sized codebooks, however, there are occasions when the codebook can no longer adequately represent edge or texture information. HVQ has been proposed to overcome this problem. In HVQ, an image is usually partitioned into several blocks of different size such that the contents of the smaller blocks are inside the larger blocks. An independent codebook using a standard VQ codebook generation algorithm (such as LBG) is generated for each block size. In the encoding process, the largest block is encoded first. If the texture or information in the image is not adequately recovered, the next smaller block is encoded, and so forth. HVQ has the greatest encoding complexity and memory requirement of the techniques described herein. The JPEG technique is described in Wallace et al., "The JPEG Still Picture Compression Standard," IEEE Transactions on Consumer Electronics, Vol. 38, No. 1, February 1992, pp. xviii-xxxiv. TASVQ and HASVQ are adaptive versions of TSVQ and HVQ, respectively, and provide much better performance. A version of ATSVQ is described in U.S. Patent No. 5,172,228 to Paul D. Israelsen, entitled "Image Compression Method and Apparatus Employing Distortion Adaptive Tree Search Vector Quantization. " The MASVQ technique has the low complexity and simple structure of the MSVQ, but better performance. The following adaptive algorithm is presented for ATSVQ but may be used in various other techniques. In the adaptive tree search for ATSVQ, given a constant rate, the encoder traverses the depth of the tree where it will search for a match that best describes the input vector. Depending on the given rate, the encoder will search down the tree to find the best possible match or will stop somewhere along the tree and transmit a shorter codeword suffering a minimal increase in distortion. For the product VQ (e.g., mean-residual with adaptive search), however, if the input vector is rather flat, then only the mean of the vector needs to be transmitted and a few bits are saved for more active vectors which take more bits to be transmitted. A buffer is used to allow the encoder to adapt to varying statistics of the input vectors. The buffer characteristics are defined using two parameters, the error threshold and the current buffer level. The error threshold is usually a function of the current buffer level, and the choice of this function can be optimized to improve algorithmic performance. The function is chosen to be linear. The following is a pseudocode form of the algorithm: 1 : Based on the initial buffer level evaluate the initial threshold. 2: Given an input vector, do a) while distortion > threshold look for the best match (minimum distortion) for the input vector at the current level of the tree codebook. If distortion ≤ threshold then go to step else if the current level < maximum level of the tree codebook, then current level = current level + 1 else go to step b. b) Determine the number of bits n for the best match. This includes the index along with a prefix to identify the level of the tree where the best match was found. c) Use n found in the previous step to update the current buffer level b according to b = b + n - outbits where outbits is the designated constant rate of the encoder. d) Evaluate the new threshold. This adaptive algorithm is a rather universal scheme and can easily be adapted to different VQ techniques, as described below. For MRVQ, the algorithm can be modified so that when the distortion, compared to the mean only, is less than the threshold only, the index of the mean of the vector would be transmitted. This saves encoding time and channel bandwidth. When the HASVQ employs the adaptive search algorithm, the HASVQ algorithm starts with the largest block (vector). If the distortion is still greater than the threshold after going down to the bottom of the tree-structured codebook (for the respective vector), then the entire adaptive encoding process restarts for the next block size, and so on. The index of the best match along with a prefix that includes the codebook type (vector size) plus the level of the tree are transmitted. MASVQ may also employ the adaptive search algorithm. MASVQ is particularly suited to exploit the successive approximation nature of a multi-stage VQ codebook. Given a constant rate, the encoder searches every successive stage and looks for the best match. If the rate is high, the encoder will search through all the stages, and if the rate is low the encoder will compromise with a minimum increase in distortion for a shorter codeword. MASVQ employs a buffer adapted to the varying statistics of the input image. As the input vector arrives, the multi-stage codebook is searched for the best match starting with the first stage and traversing through the successive codebooks one stage at a time. If the distortion requirement is met, further search of the codebook is terminated and the index of the best match along with a prefix to specify the stage of the search are transmitted. The tree- structured codebook may be incorporated at each stage of the search. Therefore, in a sense, MASVQ is an adaptive algorithm not only along each successive stage, but also adaptive for each level of the tree-structured codebook of the respective stage. Consequently, the prefix specifies the stage and the level of the codebook for that stage. MASVQ may employ a tree structured codebook. MASVQ with a tree structured codebook was employed in lossy codec 52 to make the performance measurements described below. MRVQ is described in U.S. Patent No. 4,958,225 to Bi et al, entitled "A Full-Search-Equivalent Method For Matching Data and A Vector Quantizer Utilizing Such Method," and in a PhD. dissertation entitled "Vector Quantization of Digital Images" by Richard Baker, published in June 1984 at Stanford University. A preferred circuit for searching the codebook in MRVQ is described in U.S. Patent No. 5,031,037 to Paul D. Israelsen entitled "Vector Quantizer Codebook Processing Circuit." Multiplexer 30 and demultiplexer 32 are desirable, but may not be necessary depending on the type of encoding that is used in lossy codec 52. Referring to Fig. 2, a summer 66 receives signals I D1 and I VQ "1 and provides residual data signal E R to conductor 70, where E R = l - I VQ "1 - Threshold circuit 74 receives E R and a programmable fixed threshold value T and provides a truncated error signal Er on conductor 78. The value of truncated error signal ΕL- is calculated according to equation (1), below: (1) where E R and T are described above. The maximum error allowed then is the threshold T. The threshold T is set to insure the maximum error allowed by fixed quality source coder 20. The value of T is preferably programmable through software or hardwired buttons, allowing the clinician to select the maximum error that may be tolerated. In general, of course, a smaller the maximum error leads to larger memory requirements, but usually a reduced maximum error and average error. Threshold T could be equal to the least significant bit of a traditional source coder in Fig. 1, _______ , n-bit ADC 16. Threshold T could be another value according to the desired level of accuracy. If T is other than an integer rounding or truncation may occur. The threshold T is added back in decoder 34, as described below. Signal Er is received by a lossless encoder 82, which provides signal Er to conductor 40. Lossless encoder 82 may be a Rice coder, such as is described in Venbrux et al., "A VLSI Chip Set for High-Speed Lossless Data Compression," IEEE Transactions on Circuits and Systems for Video Technology. Vol. 2, No. 4, December 1992, pp. 381-391. Other lossless encoders could be used including, but not limited to Huffman, Splaytrees, and LZW encoders. A lossy encoder could be used in place of lossless encoder 82, but it would introduce additional error. Referring to decoder 34, lossless decoder 86 provides a signal E , which is analogous to signal E r on conductor 78. Threshold circuit 94 provides E R ' according to equation (2), below: 0, if E j .' = 0 ER' " E,,' + T, if E ≥ 0 (2) E,.' - T, if E ≤ 0, where Er ' is received by threshold circuit 94 and T is the threshold level of threshold circuit 94. Fig. 2 represents the invention in block diagram form. The functions of encoder 28, multiplexer 30, demultiplexer 32, and decoder 34 could be performed by a microprocessor, related circuitry, and memory. In that case, the "conductors" of Fig. 2 may represent transfer of data to and from memory rather than to the other circuits shown in the Fig. 2. The analog signal received by low pass filter 12 typically originates from a high quality sensor from contemporaneously detected information. However, the originally sensed signal may be processed by a variety of circuitry including, but not limited to, a low pass filter and a sample-and-hold circuit. Moreover, other circuitry may interact with various circuits of fixed quality source coder 20. For example, processing circuitry could be placed between ADC 24 and encoder 28. Encoder 28 could receive signals from ADC 24 and other circuitry. Multiplexer 30 could receive signals from encoder 28 and other circuitry. In short, fixed quality source coder 20 may interact with or act in combination with other circuitry to provide additional benefits beyond the scope of the present invention. Referring to Fig. 11, the second embodiment of the invention is illustrated by the combination of fixed quality source coder 20 and a traditional source coder including low pass filter 12, S/H 22 (supplying R x S samples/frame) and n-bit ADC 16, which provides signal I D2 , having R x S samples/frame and n bits per sample. The bandwidth and cut-off frequency of low pass filter 12 is preferably increased with the increase in samples/frame. The operation of fixed quality source coder 20 is described in connection with Fig. 2, above. Fixed quality source coder 20 provides reconstructed signal I RD2 , which is ideally equal to I D2 . Referring to Fig. 19, the third embodiment of the invention is illustrated by the combination of fixed quality source coder 20 and a traditional source coder including low pass filter 12, S/H 22 (supplying R x S samples/frame) and n + k bit ADC 24, which provides signal I D3 , having R x S samples/frame and n + k bits per sample. The operation of fixed quality source coder 20 is described in connection with Fig. 2, above. Fixed quality source coder 20 provides reconstructed signal 1^ 3 , which is ideally equal to I D3 . Referring to Fig. 20, the value of threshold T in fixed quality source coder 20 may be set by the user through control module 120. Control module 120 could include keys, buttons, or other controls integral to fixed quality source coder 20 or keys, buttons, or other controls in a stand alone computer, such as, for example, an IBM PC type computer or an Apple Macintosh type computer. In a preferred embodiment of the invention, there is only a single value of threshold T for both encoder 28 and decoder 34. Alternatively, the value of threshold T for encoder 28 could be different than the value of threshold T for decoder 34. Again, the user could decide the value of each for their particular needs. B. Performance The performance of fixed quality source coder 20 may be illustrated through various measures described below and through comparisons with the performance of the traditional source coder. The mean absolute error (MAE) and root mean square error (RMSE) are two measures of distortion. The MAE of n-bit ADC 10 is MAE SQ and is defined in equation (3), below: MAESQ Di -IsQi| (3) ' where N is the total number of pixels, I Di is a particular sample of input signal I D , and I SQi is a particular sample of signal I SQ . The MAE of fixed quality source coder 20 is MAE vQsc , defined in equation (4), below: MAE VQSC = -J-∑ II* - I RK | < 4 >' IN j,! where N and I Di are defined above and I R -*,* is a particular sample of signal I RD at the output of decoder 34. The RMSE of n-bit ADC 10 is RMSE sQ , defined in equation (5), below: * M ∞ - [ -s < / „- / . w Λ , 2 (5) ' where N, I Di , and I SQi are defined above. The RMSE of fixed quality source coder 20 is RMSEv QSC , defined in equation (6), below: RMSE VQSC = [ (I K -I RK ) 2 ] 1 / 2 <*>> where N, I Di , and I R --,- are defined above. The compression ratio (CR) of n-bit ADC 10 to fixed quality source coder 20 is defined in equation (7), below: CR = BRgQ / BR VQ S C (7), where BR sQ is the bit rate of Ig Q . k at the output of n-bit ADC 10 and BR VQSC is the bit rate of Iv Qs σ at the output of multiplexer 30. The bit rate (or data rate) is defined as bits per pixel (BPP). The mean average error ratio (MAER) of scalar quantizer 10 to fixed quality source coder 20 is defined in equation (8), below: MAER = MAE SQ /MAE VQSC (8), where MAE^ and MAEv QSC are defined in equations (3) and (4), above. The root mean square error ratio (RMSER) of scalar quantizer 10 to fixed quality source coder 20 is defined in equation (9), below: RMSER = RMSE SQ / RMSE vQSC (9), where RMSE sQ and RMSEv QSc ~ ~ Q defined in equations (5) and (6), above. A comparison of the first embodiment of the invention is described in connection with Fig. 3. Referring to Fig. 3, n + k bit ADC 24 receives signal I A and provides an n + k bit digital signal I D1 at conductor 102. Signal I is received by n-bit ADC 10 and fixed quality source coder 28. N-bit ADC 10 provides a n-bit scalar quantized signal I SQ . k , the least significant bit of which is more significant than the kth bit of the signal I D1 . For example, if n is 8 and k is 3, I would have three bits with less significance than the least significant bit of signal I SQ _ k . The signal I SQ . k is received by multiplier circuit 104, which multiples the signal I SQ . k by 2 k (or shifts left by k-bits) to produce an n + k bit scalar quantized signal I SQ . The signal I SQ has n + k bits, the k least significant bits of which are zero. Because ADC 10 performs scalar quantization, the letters "SQ" are used to represent ADC 10 and multiplier 104. Referring to Figs. 2 and 3, the output of fixed quality source coder 20 is I RD ,. Simulations were made with the circuit of Fig. 3 to compare fixed quality source coder 20 with traditional source coder 10. Three different types of medical images were used in the simulations: two magnetic resonance images (MR), one computed tomography (CT) image, and one digital radiography (DR) image. The MR images had 8-bit 480x392 samples per image, the DR image had 12-bit 608x496 samples per image, and the CT image had 12-bit 512x512 samples per image. The table of Fig. 4 shows theoretical MAE sQ , RSME sQ , and maximum error (Max Err SQ ) for traditional source coder ADC 10 for the cases of truncation and rounding of the specified least significant number of bits (k). The data in the table of Fig. 4 are in counts, e ^ , the bit levels. The data present the best possible error measures achievable from a uniform SQ and assumes that the image data is uniformly distributed over the range of the quantizer. The table of Fig. 5 shows the measured MAEv QSC .,, RSME VQSC - I. and maximum error (Max ErrVQ sc ) results of fixed quality source coder 20 for the tested MR, CT, and DR images and particular bits per pixel (bpp). Using the results of the tables of Figs. 4 and 5, the table of Figs. 6 and 7 show CR-I, MAER-I, and RMSER-I as defined in equations (7), (8), and (9), for particular specified bpp, and in which VQSC-I and SQ have the same maximum error. In Fig. 6, SQ is performed by truncation. In Fig. 7, SQ is performed by rounding. These results are obtained under the same maximum error condition. The tables of Fig. 6 and 7 show that CR-I, MAER-I, and RMSER-I are always greater than 1. That is, in the same maximum error condition, VQSC-I always has a smaller BR, MAE-I, and RMSE-I than SQ. Thus, in every case simulated, VQSC-I is a superior quantizer to the uniform SQ. In order to visually demonstrate that VQSC-I is superior to SQ, the average error versus column number for MR, DR, and CT images were computed. These results are illustrated in Figs. 9, 10, and 11, in each of which cases the max¬ imum errors Max Err VQSc - ι and Max Err sc are each 7 and VQSC has fewer bits per sample than SQ. These results show that for each image the average error at each column of VQSC-I is less than or equal to that of SQ. Accordingly, VQSC-I is superior to SQ. In summary, the simulation results show that the fixed quality source coder has a smaller MAE, RSME and data rate than the traditional coder, while maintaining the same maximum error. A comparison of the second embodiment of the invention is described in connection with Fig. 12. Referring to Fig. 12, a interpolator 110 receives signal Iuo from the traditional source coder of Fig. 1. Interpolator 110 provides the signal I JN through, for example, (1) linear inteipolation, (2) cubic interpolation, or (3) increasing the number of samples/frame by, for example, repeating each pixel twice in a line and repeating each line. Interpolator 110 reconstructs the r x s samples/frame image into R x S samples/frame image. The resulting signal 1^ has R x S samples/frame and may be compared with signal I RD -*. of fixed quality source coder 20 in Fig. 11. Referring to Fig. 11, in order to compare the performance of the SQ with VQSC-II, each frame of the analog image is sampled by S/H 22 with a resolution of R x S samples. Then, each sample is quantized into an n-bit digital signal by ADC 16. This R x S n-bit digital signal I D2 is assumed to be the original signal. See Fig. 12. This signal is low pass filtered by low pass filter 12 and sub- sampled into r x s samples/frame and to obtain the output of the SQ. The output with n-bit r x s samples/frame is the same I D0 of Fig. 1. These r x s samples of the digital signal are reconstructed into R x S samples by interpolator 110 and constitute the digital signal of the larger frame. The MAE and RMSE between the original signal and the reconstructed signal of the SQ can be evaluated. MAE and RMSE between the original signal and the output of the VQSC-II are also evaluated. The same test images used in connection with the VQSC-I simulation described above were also used in connection with VQSC-π. The original signals were low pass filtered and 2:1 sub-sampled as the output of SQ. The low pass filtering and sub-sampling processes were actually done by taking the average of each two consecutive pixels to represent one pixel. The output of SQ was up- sampled and filtered (by a cubic spline interpolation) to obtain the reconstructed image. The MAE and RMSE between the SQ reconstructed image and the original image were evaluated and are shown in the table of Fig. 15. The original images were also coded by using fixed quality source coder 20, as shown in Fig. 11. Measured values of MAEVQSC- Π and RMSEv QSC -u and Max Error VQSC . π are provided in the table of Fig. 14 for particular images and bits per pixel. The table of Fig. 13 shows measured MAE sQ , RMSE sQ , and Max Error SQ for the traditional source coder of Fig. 1 for MR, DR, and CT images for particular bits per pixel. The table of Fig. 15 shows that the compression ratio MAER, and RMSER of VQSC-π are always greater than one and, therefore, less than those of SQ. That is, VQSC-H always has fewer bits per sample, and a smaller MAE and RMSE than does SQ. VQSC-H also has a smaller max error. Thus, in every case simulated, VQSC-H is a superior quantizer than is SQ. A comparison circuit for the circuit of Fig. 19 would be analogous to those of Figs. 3 and 12. In comparison with the traditional source coder, the present invention allows (1) improved quality with the same storage requirements, (2) improved storage requirements with the same quality, (3) some improvement in both quality and storage, or (4) some other tradeoff in quality and storage requirements. The present invention is not limited to any particular video standard. The use of the term "conductor" in the singular is used several times with reference to the circuits of the figures. This is not to imply that there could not be parallel conductors to transmit data in parallel. For example, conductor 18 could comprise more than one individual conductor. The present invention may be embodied in specific forms other than those of the preceding description, which are to be considered only as illustrative and not restrictive. Accordingly, the scope of the invention is indicated by the following claims, including equivalents thereof, rather than by the specific embodiments described in the preceding description.

Claims: CLAIMS What is claimed is: 1. A fixed quality source coder for encoding a digital signal I D , the coder comprising: codec means for receiving the signal I D , for encoding the signal I D to provide encoded information regarding the signal I D , and for decoding the encoded signal to produce a decoded signal I VQ "1 ; means for determining an error signal E R ; threshold means for receiving the signal E R and for passing a threshold signal Er based on a fixed threshold value T; and lossless encoder means for receiving and encoding the signal Er to provide a signal Er. 2. The coder of claim 1 in which the threshold value T is selected by a user. 3. The coder of claim 1, further comprising: multiplexing means for receiving the signal Er and the encoded information regarding the signal I D and for multiplexing the signal Er and the encoded information regarding the signal I D to provide a multiplexed signal responsive thereto; demultiplexing means for receiving the multiplexed signal and for providing a demultiplexed signal responsive thereto; and decoding means for receiving the demultiplexed signal and for providing a decoded signal I RD responsive thereto, said decoded signal I RD being a reconstruction of the signal I D . 4. The coder of claim 1 in which the signal I D has n + k bits and the coder has a maximum error that is no greater than that of an n-bit anticident analog to digital converter, but with an average error and a data rate that are substantially smaller than that of the n-bit analog to digital converter. 5. The coder of claim 1 in which the signal I D has R x S samples/frame and the coder has a maximum error that is no greater than that of a signal having r x s samples/frame where R is larger than r and S is larger than s, but with an average error and a data rate that are substantially smaller than that of the signal having r x s samples/frame. 6. The coder of claim 1 in which the lossless encoder means includes a Rice encoder. 7. The coder of claim 1 in which the codec means includes a lossy encoder that performs multi-stage tree adaptive search vector quantization. 8. The coder of claim 1 in which E R = I D - I VQ "1 . 9. The coder of claim 1 in which Er = E R - T when E R > T, Er = 0 when -T < E R ≤ T, and Er = E R + T when E R < -T. 10. The coder of claim 1 wherein said means for determining said error signal E R determines said error signal E R by comparing the digital signal I D and the decoded signal I VQ "1 . 11. The coder of claim 10 in which the codec is a lossy codec and includes a lossy encoder.

Inventors: HARRIS RICHARD W, HUANG CHIEN-MIN, ISRAELSEN PAUL D, HARRIS, RICHARD, W., HUANG, CHIEN-MIN, ISRAELSEN, PAUL, D.
Applicants: UNIV UTAH, UTAH STATE UNIVERSITY FOUNDATION
Application year: 1995
Main classification: H03M7
IPC codes: G06T9, H03M7, H04N7