Information
-
Patent Application
-
20030112875
-
Publication Number
20030112875
-
Date Filed
January 24, 200321 years ago
-
Date Published
June 19, 200321 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
The present invention provides a system and method for explicitly transmitting a block attribute in the data of a block. In one embodiment, a current block of data is randomized in accordance with an ID value from the current block and from at least one temporally adjacent block of data. The ID of the current block is selected such that when combined with determined bits of the data results in the value of the block attribute. During a decoding process, the block attribute is retrieved by accessing the determined bits of the data. In one embodiment, the data is then decoded by generating possible candidate decodings and evaluating the candidate decodings based upon confidence metrics.
Description
BACKGROUND OF THE INVENTION
[0001] 1. Field of the Invention
[0002] The present invention relates to providing a robust error recovery due to data losses incurred during transmission of signals. More particularly, the present invention relates to a method of transformation of data to explicitly transmit control information.
[0003] 2. Art Background
[0004] A number of techniques exist for reconstructing lost data due to random errors that occur during signal transmission or storage. However, these techniques cannot handle the loss of consecutive packets of data. Consecutive loss of packets of data is described in the art as burst error. Burst errors result in a reconstructed signal with such a degraded quality that it is easily apparent to the end user. Additionally, compression methodologies used to facilitate high speed communications compound the signal degradation caused by burst errors, thus adding to the degradation of the reconstructed signal. Examples of burst error loss affecting transmitted and/or stored signals may be seen in high definition television (“HDTV”) signals, mobile telecommunication applications, as well as video storage technologies including video disk and VCRs.
[0005] For example, the advent of HDTV has led to television systems with a much higher resolution than the current standards proposed by the National Television Systems Committee (“NTSC”). Proposed HDTV signals are predominantly digital. Accordingly, when a color television signal is converted for digital use it is common that the luminance and chrominance signals may be digitized using eight bits. Digital transmission of NTSC color television signals may require a nominal bit rate of about two-hundred and sixteen megabits per second. The transmission rate is greater for HDTV, which may nominally require about 1200 megabits per second. Such high transmission rates may be well beyond the bandwidths supported by current wireless standards. Accordingly, an efficient compression methodology is required.
[0006] Compression methodologies also play an important role in mobile telecommunication applications. Typically, packets of data are communicated between remote terminals in mobile telecommunication applications. The limited number of transmission channels in mobile communications requires an effective compression methodology prior to the transmission of packets. A number of compression techniques are available to facilitate high transmission rates.
[0007] Adaptive Dynamic Range Coding (“ADRC”) and Discrete Cosine Transform (“DCT”) coding provide image compression techniques known in the art. Both techniques take advantage of the local correlation within an image to achieve a high compression ratio. However, an efficient compression algorithm may result in compounded error propagation because errors in an encoded signal are more prominent when subsequently decoded. This error multiplication may result in a degraded video image that is readily apparent to the user.
[0008] In the ADRC process, for example, the image to be compressed is divided into disjoint sets of pixels called blocks. Information can then be transmitted in a block by block manner. For each block, a minimum pixel level and maximum pixel level are determined. The range of pixel values between the minimum and maximum level, referred to herein as the dynamic range (DR), is then divided into equally sized sections, referred to herein as quantization bins. Thus the number of bins is variable. If the dynamic range is divided into 2Q quantization bins, the transmission of the approximate pixel values is referred to as Q bit quantization.
[0009] Each pixel in the block is approximately transmitted to the decoder based on which of the quantization bins it falls into. The number of the quantization bin the pixel falls into is the Qcode for the pixel. The Qcode is subsequently provided to a decoder can approximate the pixel value using block control information and the Qcode. The control information, also referred to herein as fixed length data, includes the number of quantization bins, the minimum pixel value and dynamic range of the block. Decoding becomes quite difficult if the block control information is lost during transmission to the decoder. In certain instances, the lost block control information can be reconstructed at the decoder. For example, the control information typically transmitted with an encoded block of data includes the dynamic range, motion flag and the minimum value or maximum value or central value. Q is not typically transmitted to save on the required number of bits transmitted as Q is determined from the dynamic range in the same way that the encoder determines Q. However, if the dynamic range is lost, Q can not be determined in a straightforward manner. Typically, in such cases, Q is estimated using available information.
[0010] One solution to this problem is to explicitly transmit the Q value for each block. However, it is desirable to minimize the number of bits transmitted in the encoded bitstream.
SUMMARY OF THE INVENTION
[0011] The present invention includes a system and method that explicitly transmits at least one block attribute as part of the encoded data without adding bits to the encoded bitstream. In one embodiment, the block attribute is explicitly transmitted as part of the encoded data, located at determined bit locations of the encoded data. The bits in these determined positions are transformed so that they correspond to the value of a particular block attribute. In one embodiment, these bits are set to equal the block length. A decoder can therefore read the block attribute directly from the bitstream. In order to transmit the bits in the determined bit locations, the previous values of these bits must be overwritten. To recover these original bits, in one embodiment, the encoder performs a transformation on the remaining bits in the block which allows the decoder to recover the original bits that were over-written by block attribute data.
BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The objects, features and advantages of the present invention will be apparent to one skilled in the art in light of the following detailed description in which:
[0013]
FIG. 1
a
illustrates an embodiment of the processes of signal encoding, transmission, and decoding.
[0014]
FIGS. 1
b
and 1c illustrate embodiments of signal encoding, transmission, and decoding implemented as software executed by a processor.
[0015]
FIGS. 1
d
and 1e illustrate embodiments of signal encoding, transmission, and decoding implemented as hardware logic.
[0016]
FIG. 2
a
illustrates one embodiment of a process for transforming data to explicitly transmit control information.
[0017]
FIG. 2
b
illustrates one embodiment for retrieving control information and determining the data from the transformed data.
[0018]
FIG. 3 illustrates one embodiment of a packet structure.
[0019]
FIG. 4 is a flow diagram illustrating one embodiment of the encoding process.
[0020]
FIG. 5 is a flow diagram illustrating one embodiment of the decoding process.
[0021]
FIG. 6 is a flowchart of one embodiment for a process for transforming data to explicitly include control information.
[0022]
FIG. 7 is a flowchart of one embodiment for a process for reverse-transforming data and extracting explicitly included control information.
DETAILED DESCRIPTION
[0023] The present invention provides a system and method for the transformation of a signal stream to explicitly code control data, such as block attributes for a block of data, without adding additional bits to the bitstream. In the following description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one skilled in the art that these specific details are not required in order to practice the present invention. In other instances, well known electrical structures and circuits are shown in block diagram form in order not to obscure the present invention unnecessarily.
[0024] The signal processing methods and structures are described in the context of one embodiment in which the signals are Adaptive Dynamic Range Coding (ADRC) encoded images, and block attributes or compression constants utilized for encoding. However, it is contemplated that the present invention is not limited to ADRC encoding and the particular compression constants utilized; rather it will be apparent that the present invention is applicable to different compression technologies, different types of correlated data, including, but not limited to, sound data and the like, and different control data, block attributes or compression constants including, but not limited to, the minimum value (MIN), maximum value (MAX) central value (CEN), dynamic range (DR), and quantization number Qbit (Q) which may be used in ADRC processes.
[0025] The present invention is also applicable to different types of ADRC processes including edge-matching and non edge-matching ADRC. For further information regarding ADRC, see “Adaptive Dynamic Range Coding Scheme for Future HDTV Digital VTR”, Kondo, Fujimori, Nakaya, Fourth International Workshop on HDTV and Beyond, Sep. 4-6, 1991, Turin, Italy. ADRC has been established as a feasible real-time technique for coding and compressing images in preparation for constant bit-rate transmission.
[0026] In the above paper, three different kinds of ADRC are explained. In one embodiment, these are achieved according to the following equations:
[0027] Non-edge-matching ADRC:
DR=MAX−MIN+
1
1
[0028] Edge-matching ADRC:
DR=MAX−MIN
2
[0029] Multi-stage ADRC:
DR=MAX−MIN+
1
3
[0030] Where MAX′ is the averaged value of x′ in the case of q=2Q−1;
[0031] MIN′ is the averaged value of x′ in the case of q=0; and
DR′=MAX′−MIN′
4
[0032] where MAX represents the maximum level of a block, MIN represents the minimum level of a block, x represents the signal level of each sample, Q represents the number of quantization bits (also referred to herein as the Qbit value), q represents the quantization code (encoded data), x′ represents the decoded level of each sample, and the square brackets └·┘ represent a truncation operation performed on the value within the square brackets.
[0033] The signal encoding, transmission, and subsequent decoding processes are generally illustrated in FIG. 1a. Signal 100 is a data stream input to Encoder 110. Encoder 110 follows the Adaptive Dynamic Range Coding (“ADRC”) compression algorithm and generates Packets 1, . . . N for transmission along Transmission Media 135. Decoder 120 receives Packets 1, . . . N from Transmission Media 135 and generates Signal 130. Signal 130 is a reconstruction of Signal 100.
[0034] Encoder 110 and Decoder 120 can be implemented a variety of ways to perform the functionality described herein. In one embodiment, Encoder 110 and/or Decoder 120 may be embodied as software stored on media and executed by a general purpose or specifically configured computer system, typically including a central processing unit, memory and one or more input/output devices and co-processors, as shown in FIGS. 1b and 1c. Alternately, the Encoder 110 and/or Decoder 120 may be implemented as logic to perform the functionality described herein, as shown in FIGS. 1d and 1e. In addition, Encoder 110 and/or Decoder 120 can be implemented as a combination of hardware, software or firmware.
[0035] Embodiments of the circuits for coding, arranging, and the transformation of a signal stream to provide for a robust error recovery are shown in FIGS. 1b and 1c. The methods described herein may be implemented on a specially configured or general purpose processor system 170. Instructions are stored in memory 190 and accessed by processor 175 to perform many of the steps described herein. Input 180 receives the input bitstream and forwards the data to processor 175. Output 185 outputs the data. In FIG. 1b, the output may consist of the encoded data. In FIG. 1c, the output may consist of the decoded data, such as image data decoded according to the methods described, sufficient to drive an external device such as display 195.
[0036] In one embodiment, Signal 100 may be a color video image comprising a sequence of video frames, each frame including information representative of an image in an interlaced video system. Each frame is composed of two fields, wherein one field contains data of the even lines of the image and the other field containing the odd lines of the image. The data includes pixel values that describe the color components of a corresponding location in the image. For example, in the present embodiment, the color components consist of the luminance signal Y, and color difference signals U, and V. It is readily apparent the process of the present invention can be applied to signals other than interlaced video signals. Furthermore, it is apparent that the present invention is not limited to implementations in the Y, U, V color space, but can be applied to images represented in other color spaces.
[0037] In alternate embodiments, Signal 100 may be, for example, two-dimensional static images, hologram images, three-dimensional static images, video, two-dimensional moving images, three dimensional moving images, monaural sound, or N-channel sound.
[0038] Referring back to FIG. 1a, Encoder 110 divides the Y, U, and V signals and processes each group of signals independently in accordance with the ADRC algorithm. The following description, for purposes of simplifying the discussion, describes the processing of the Y signal; however, the encoding steps may be replicated for the U and V signals.
[0039] In one embodiment, Encoder 110 groups Y signals across two subsequent frames, referred to herein as a frame pair, of Signal 100 into three dimensional blocks (“3D”) blocks. In an alternate embodiment, a 3D block is generated from grouping two 2D blocks from the same localized area across a given frame pair, wherein a two dimensional 2D block is created by grouping localized pixels within a frame or a field. It is contemplated that the process described herein can be applied to different block structures. Although the discussion herein discusses specific block structures, the term “block” is applicable to any grouping of data to be encoded.
[0040] In one embodiment, for a given 3D block, Encoder 110 calculates whether there is a change in pixel values between the 2D blocks forming the 3D block. A Motion Flag is set if there are substantial changes in values. As is known in the art, use of a Motion Flag allows Encoder 110 to reduce the number of quantization codes when there is localized image repetition within each frame pair. Encoder 110 also detects the maximum pixel intensity value (“MAX”) and the minimum pixel intensity value (“MIN”) within a 3D block. Using values MAX and MIN, Encoder 110 calculates the dynamic range (“DR”) for a given 3D block of data. For one embodiment DR=MAX−MIN+1 in the case of non-edge-matching ADRC. For edge-matching ADRC, DR=MAX−MIN. In some embodiments the encoder may also determine a central value (CEN) that has a value between MAX and MIN. In one embodiment, CEN may be determined as CEN=MIN+DR/2.
[0041] In an alternative embodiment, Encoder 110 encodes signals on a frame by frame basis for a stream of frames representing a sequence of video frames. In another embodiment, Encoder 110 encodes signals on a field by field basis for a stream of fields representing a sequence of video fields. Accordingly, Motion Flags are not used and 2D blocks may be used to calculate the MIN, MAX, CEN and DR values.
[0042] In one embodiment, Encoder 110 references the calculated DR against a threshold table of DR threshold values and corresponding Qbit values to determine the number of quantization bits (“Qbits”) used to encode pixels within the block corresponding to the DR. Encoding of a pixel or datapoint results in a quantization code (“Q code”). The Q codes are the relevant compressed image data used for storage or transmission purposes. Thus the Qbit value may be indicative of the length of the block.
[0043] In one embodiment, the Qbit selection is derived from the DR of a 3D block. Accordingly, all pixels within a given 3D block are encoded using the same Qbit, resulting in a 3D encoded block. The collection of Q codes, MIN, Motion Flag, and DR for a 3D encoded block is referred to as a 3D ADRC block. Alternately, 2D blocks are encoded and the collection of Q codes, MIN, and DR for a given 2D block results in 2D ADRC blocks. As noted earlier, the MAX value and CEN value may be used in place of the MIN value. In addition, as discussed below, in one embodiment, the Q codes are configured to explicitly transmit the Qbit value.
[0044] A number of threshold tables can be implemented. In one embodiment, the threshold table consists of a row of DR threshold values. A Qbit corresponds to the number of quantization bits used to encode a range of DR values between two adjacent DRs within a row of the threshold table. In an alternative embodiment, the threshold table includes multiple rows and selection of a row depends on the desired transmission rate. Each row in the threshold table is identified by a threshold index. One description of an example of ADRC encoding and buffering is disclosed in U.S. Pat. No. 4,722,003 entitled “High Efficiency Coding Apparatus” and U.S. Pat. No. 4,845,560 also entitled “High Efficiency Coding Apparatus”, assigned to the assignee of the present invention.
[0045] Here forth the Q codes are referred to as variable length data (“VL-data”). In addition, the DR, MIN, MAX, CEN and Motion Flag are referred to as block attributes. Selected block attributes, also referred to herein as compression parameters, together with the threshold index, constitute the fixed length data (“FL-data”). Furthermore, in view of the above discussion, the term block attribute may describe a parameter associated with a component of a signal element, wherein a signal element includes multiple components.
[0046] An advantage of not including the Qbit code value in the FL-data and using DR to derive the Qbit value is that no additional bits need be transmitted for each ADRC block. A disadvantage of not including the Qbit value is that, if the DR is lost or damaged during transmission or storage, the Q codes cannot be easily recovered. The ADRC decoder must determine how many bits were used to quantize the block without relying on any DR information.
[0047] However, in one embodiment, the Qbit value may be sent explicitly by causing determined bits (also referred to herein as an intermediate set of bits) of the VL-data to be the Qbit value. In one embodiment, the VL-data is encoded such that the determined bits correspond to the Qbit value. For example, the VL-data is transformed such that when the VL-data is combined with a number, that includes at the determined bit locations a value referred to herein as the ID, the determined bits equal the Qbit value. More particularly, in one embodiment, after the VL-data is transformed by an exclusive-OR operation with a pseudorandom sequence and the determined bits of the transformed data are set, if necessary to equal the Qbit value.
[0048] One embodiment of the process is illustrated in FIG. 2a. At step 200, the Qbit value is determined. At step 210, the VL-data is transformed such that the Qbit value is located at determined location of the transformed VL-data. FIG. 2b illustrates one embodiment of the process for retrieving the Qbit value and determining the VL-data. At step 220, the Qbit value is retrieved from determined bits of the transformed VL-data. At step 230 the VL-data is then determined from the transformed data received.
[0049] The VL-data can be transformed in a number of ways. As used herein, the term “transform” is contemplated to include, but is not limited to, translation, randomization, reorganization and shuffling of data. In one embodiment, the ID of a current block of data, together with the IDs of a number of previous blocks, may be used as a randomizing or seed value for a pseudorandom number generator (PNG). In one embodiment, the three previous ID values may be used. However, any number of temporally adjacent values (either prior or subsequent) may be used to generate the seed value. For purposes of discussion herein, temporally adjacent may be construed to include any prior or subsequent block of data.
[0050] In one embodiment, each successive ID value is concatenated to the right of the current seed value. The PNG creates a statistically distinct pseudorandom number sequence using the seed value and creates the same statistically distinct sequence for each application of the same seed value. The pseudorandom number sequence may then be used to transform the VL-data. If the transformed data at the determined bit locations is not equal to the desired Qbit value, the bits are set to the Qbit value.
[0051] In alternate embodiments, the FL-data may be transformed or both the VL-data and FL-data may be transformed. As noted above, in one embodiment, the transformation T of the VL-data is achieved by applying a bitwise XOR (exclusive OR) function to the pseudorandom number sequence (p) and the VL-data (x). Thus:
T
(x)=x⊕p.
[0052] In this embodiment, the bitwise XOR function is used, as the inverse transformation is exactly the same as for the original, forward transformation. That is:
T
1
(T(x))=(x⊕p)⊕p=x.
[0053] In alternate embodiments, a variety of sets of transformations may be used to generate the statistically distinct sequences. For example, a table of fixed or pre-defined sequences may be used.
[0054] In one embodiment, the PNG creates multiple pseudorandom sequences. The number of sequences corresponds to the number of possible Qbit values. In one embodiment, the seed value, (seed value+2n+1), (seed value+2n+2 . . . ), (seed value+2n−n−1) are used as inputs for generating possible pseudorandom sequences for explicitly transmitting a Qbit value of n bits. For example, in one embodiment in which the Qbit value is 2 bits in length, the seed value, seed value+4, seed value+5, and seed value+6 are used as inputs to the PNG to generate four pseudorandom sequences.
[0055] The pseudorandom sequences are then combined, for example exclusive-ORed, to produce a transformed value. If the determined bits do not correspond to one possible Qbit value, the determined bits are set to correspond to a possible Qbit value. For example, in one embodiment, the determined bits of each pseudorandom sequence are set to a value such that when the modified pseudorandomed sequence is combined with the VL-data, the result includes one possible Qbit value at the determined bits. A pseudorandom sequence may be selected based upon the Qbit value to be transmitted.
[0056] As the Qbit information is explicitly transmitted at determined bit locations of the bitstream, the Qbit value can be easily retrieved by accessing the determined bit locations.
[0057] In one embodiment, a similar process is used to determine the VL-data from the transformed data. In one embodiment, the decoder attempts to decode the block with possible ID values and associated possible seed values. The possible or candidate seed values are input to the PNG to produce pseudorandom sequences. The decoder produces candidate decodings of the VL-data by applying a bitwise XOR function to each pseudorandom number sequence to produce VL-data candidate decodings. A local correlation metric is applied to each candidate decoding, and a confidence metric is computed for the block.
[0058] In one embodiment, the decoder implements a delayed-decision decoder that delays the dequantization by four blocks. In one embodiment, if the decoder calculates four consecutive low confidence metrics, it may conclude that the decoding of the oldest block was incorrect. The decoder may then return to the candidate seed value used for the oldest block and try the next-most-likely decoding of the oldest block. The decoder may then re-derandomize the three most recent blocks using a second guess at a seed value. This process may continue until the decoder produces a sequence of four decoded blocks in which the most recent block's confidence metric is large.
[0059] Thus, in one embodiment, the Qbit value may be explicitly transmitted in the VL-data. In alternate embodiments, any data may be explicitly transmitted in the VL-data. For example, the Motion Flag or a combination of the Qbit value and the Motion Flag may be encoded into the VL-data.
[0060] One embodiment of a circuit for coding a signal stream to provide for a robust error recovery is shown in FIG. 1d. Elements 143, 144 and 145 function as a transformer to transform the input signal to data that explicitly contains the Qbit value without increasing the number of bits required. An input signal of data and corresponding Qbit value is received. The seed generator 143 generates seed values for input to the PNG 144. The PNG 144 generates a sequence for each seed value provided. As discussed above, a plurality of seed values are provided to generate a plurality of sequences, which when individually combined with the data produces transformed data that includes one possible Qbit value at the determined bit locations in the transformed data. Selector logic 145 combines the sequences and data and selects the transformed data that contains the corresponding Qbit value at the determined location in the transformed data to use. The output may be used as the Q code to be transmitted or stored or may be further encoded or transformed in accordance with the particular coding process utilized. Furthermore, prior to the transformation discussed above, in some embodiments, the data may have been encoded or transformed in accordance with a particular encoding process used.
[0061]
FIG. 1
e
illustrates an embodiment of a circuit for recovering lost or damaged DR values. An input signal is received and the Qbit is extracted by reading the bits at the determined location of the bitstream by Qbit extractor 149. Derandomizer logic 150 derandomizes the Q codes from the input bitstream. In some embodiments, the input signal may have been decoded and/or transformed in accordance with a particular encoding process; alternately or additionally, the output signal from the derandomization logic 150 may be further decoded and/or transformed.
[0062] For illustrative purposes, the following description provides for a ⅙ consecutive packet transmission loss tolerance, pursuant to an ADRC encoding and shuffling of a video signal. Accordingly, the following definition and division of components exist for one embodiment. Other embodiments also are contemplated. A data set may include a partition of data of a video or other type of data signal. Thus, in one embodiment, a frame set may be a type of data set that includes one or more consecutive frames. A segment may include a memory with the capacity to store a one-sixth division of the Q codes and block attributes included in a frame set. Further, a buffer may include a memory with the capacity to store a one-sixtieth division of the Q codes and block attributes included in a frame set. The shuffling of data may be performed by interchanging components within segments and/or buffers. Subsequently, the data stored in a segment may be used to generate packets of data for transmission. Thus, in the following description, if a segment is lost all the packets generated from the segment are lost during transmission. Similarly, if a fraction of a segment is lost then a corresponding number of packets generated from the segment are lost during transmission.
[0063] Although, portions of the following description may refer to a ⅙ consecutive packet loss for data encoded using ADRC encoding, it is contemplated that the methods and apparatus described herein are applicable to a design of a 1/n consecutive packets loss tolerance coupled to a variety of encoding/decoding schemes.
[0064]
FIG. 3 illustrates one embodiment of packet structure 300 used for the transmission of the data across point-to-point connections as well as networks. packet structure 300 is generated by encoder 110 and is transmitted across transmission media 135. For one embodiment, packet structure 300 comprises five bytes of header information, eight DR bits, eight MIN bits, a Motion Flag bit, a five bit threshold index, and 354 bits of Q codes. In an alternate embodiment, the MIN bits may be replaced with CEN bits. The packet structure described herein is illustrative and may typically be implemented for transmission in an asynchronous transfer mode (“ATM”) network. However, the present invention is not limited to the packet structure described and a variety of packet structures that are used in a variety of networks can be utilized.
[0065]
FIG. 4 is a flow diagram illustrating one embodiment of an encoding process performed by Encoder 110.
[0066] In step 401 of FIG. 4, an input frame set, also referred to as a display component, may be decimated to reduce the transmission requirements. The Y signal is decimated horizontally to three-quarters of its original width and the U and V signals are each decimated to one-half of their original height and one-half of their original width. This results in a 3:1:0 video format with 3960 Y blocks, 660 U blocks and 660 V blocks in each frame pair. As noted earlier, the discussion will describe the processing of Y signals; however, the process is applicable to the U and V signals. At step 402, the two Y frame images are mapped to 3D blocks. At step 403, 3D blocks are shuffled. At step 404, ADRC buffering and encoding is used. As part of this step, the Q code for each block is transformed in order to explicitly transmit the corresponding Qbit value.
[0067] At step 405, encoded Y, U and V blocks are shuffled within a buffer.
[0068] At step 406, the VL-data for a group of encoded 3D blocks and their corresponding block attributes are shuffled. At step 407, the FL-data is shuffled across different segments. At step 408, post-amble filling is performed in which variable space at the end of a buffer is filled with a predetermined bitstream. At step 409, the VL-data is shuffled across different segments. For further information regarding this embodiment, see PCT application no.: PCTUS98/22347 assigned to the assignee of the present invention.
[0069]
FIG. 5 is a flow diagram illustrating one embodiment of a decoding process performed by decoder 120. The conversion and de-shuffling processes may be the inverse of the processes represented in FIG. 4. However, in one embodiment, the Qbit extraction and reverse transformation of Q codes as described herein may be performed within step 545.
[0070] As discussed above, the Qbit value may be explicitly transmitted in the VL-data. In one embodiment, randomization is used to encode the Q code in a manner to subsequently recover the derandomized Q code including those bits replaced with the Qbit value prior to transmission.
[0071] Randomization may be applied to destroy the correlation of incorrect candidate decodings that may be generated during a subsequent data decoding process in order to estimate lost or damaged data. The randomization process does not change the properties of the correct candidate decoding, as it is restored to its original condition. In particular, by utilizing randomization across multiple blocks of data, subsequent derandomized data will tend to result in candidate decodings that exhibit highly correlated properties indicative that the corresponding candidate decoding is a good selection.
[0072] The randomization process is chosen such that a correct derandomization results in candidate decoding exhibiting highly correlated properties and an incorrect derandomization results in a decoding exhibiting uncorrelated properties. In addition, the time-varying randomization advantageously handles zero blocks. In one embodiment, time-varying randomization may decrease the likelihood that the decoder will miss data errors by resynchronization (i.e., the decoder incorrectly decoding a set of blocks then correctly decoding subsequent blocks without recognizing the error). Encoding parameters may be used to perform the randomization and derandomization processes. For example, a randomization pattern may be chosen based on the values of the compression parameters.
[0073] In one embodiment, Qi is the Qbit value used to quantize a given VL-data block xi. In one embodiment, this number may be 0, 1, 2, 3, or 4. In one embodiment, a seed value may be used to initialize a pseudorandom number generator (PNG) to create a plurality of pseudorandom number sequences. This seed value may vary with the current ID value, on a block-by-block basis. In alternate embodiments, the seed value may be used to generate any suitable mathematical transformation sequence.
[0074] In alternate embodiments, the seed value may be generated by the combination of a variety of compression constants to encode the block of data.
[0075]
FIG. 6 illustrates one embodiment of method for encoding VL-data blocks by time-varying randomization and explicitly encoding the Qbit value. Initially at step 677, the seed value may be set to zero. Other initial values may also be used. In one embodiment, the seed value is an 8-bit binary number (e.g., 00000000).
[0076] Next, at step 679, the next VL-data block is retrieved. Then at step 681, the Qbit value for the VL-data block is determined. In one embodiment, the Qbit value may be determined directly from the DR. In an alternate embodiment, a Qbit value previously determined by the encoder may be used and stored in a data buffer. Next at step 683, if the Qbit value is not equal to zero, the process continues at step 685. If the Qbit value is equal to zero, the process continues at step 689.
[0077] If at step 683, Qbit value is not zero, then at step 685, the seed value is combined with the ID value. In one embodiment, the seed value is shifted left by a number of bits, e.g., two bits. Then the seed value may be combined, for example, concatenated, with the binary equivalent of the determined bits of the ID value minus one. (For example, if the current seed value is 00000010 and the binary equivalent of ID value minus one is 11, the two steps result in a seed value of 00001011.) Processing then continues at step 691.
[0078] If, at step 683, the Qbit value is zero, then, at step 689, the seed value is manipulated to indicate a zero block. In one embodiment, the seed value is shifted right one bit. (For example, if the current seed value is 00001011, the result of the right shift is a seed value of 00000101.) In alternate embodiments, the seed value may be set to a specified constant, left shifted in some manner, or manipulated in any advantageous manner.
[0079] At step 691, the VL-data is randomized in accordance with the seed value. In one embodiment, the seed value is used to generate a pseudorandom number sequence using the PRG. A given PRG always generates the same pseudorandom number sequence using the same seed value. Then, the pseudorandom number sequence is used as a transformation function of the VL-data block. In one embodiment, the VL-data may be randomized by applying a bitwise XOR (exclusive OR) function to the VL-data and the pseudorandom number sequence. If the determined bits of the resultant randomized VL-data does not equal one of the possible Qbit values, the determined.
[0080] As an example, a sequence of Qbit values and ID values for successive temporally adjacent blocks of data may be as follows:
Q1=1, Q2=1, Q3=3, Q432 0, . . .
ID1=2, ID2=1, ID3=1, ID4=2, . . .
[0081] The Qbit may be a value between 0 and 3. The seed value is initially set to 00000000, (corresponding to step 677). The first VL-data block, x1, is retrieved and Q1 is determined. In this example, Q1 has a value of 2. The Qbit value is not zero, therefore, steps 685 and 687 are executed. The seed value is shifted left two bits, resulting in the seed value 00000000. For block one, ID1=2 (determined from the equation Qbit=VLd0, d1⊕ID., where d0, d1 correspond to determined bits of the VL-data which are coded with the Qbit value), which has a binary value of 10. The two values are concatenated resulting in a seed value of 00000010.
[0082] The seed value is then used to generate four pseudorandom number sequences yJ1, where J corresponds a possible Qbit value between 1 and 4. In one embodiment J is equal to (Qbit−1). Therefore four pseudorandom sequences are generated: one having a value of 00 encoded at the determined bit locations, one having a value of 01 encoded at the determined bit locations, one having a value of 10 encoded at the determined bit locations, and one having a value of 11 encoded at the determined bit locations. In one embodiment, the four pseudorandom sequences are generated using the following values as input to the PNG: (seed*4), (seed*(4+1)), (seed*(4+2)), (seed*(4+3)). In one embodiment, if the determined bits of the pseudorandom sequence (i.e., the ID) does not equal J, the determined bits are set to equal J.
[0083] One sequence of the four is selected to be combined with the VL-data. In one embodiment, the sequence is selected to be the one, which when combined with the VL-data, includes data at the determined bit locations corresponding to the Qbit value. Thus, in one embodiment, one of the four sequences is selected that produces the Qbit (i.e., Qbit-1), at the determined bit locations when bitwise XORed with the VL_data, x1.
[0084] The next VL-data block, x2, and its Qbit value, Q2 (value 2), are retrieved. For block two, ID2=1, which has a binary value of 01. The current seed value is shifted left two bits, resulting in 00001000. The two values are concatenated resulting in a new seed value of 00001001. The new seed value is then used to generate four pseudorandom number sequence syJ2 and the selected sequence is bitwise XORed with x2.
[0085] The next VL-data block, x3, and its Qbit value, Q3 (value 1), are retrieved. For block three, ID3−1=0, which has a binary value of 00. The current seed value is shifted left two bits, resulting in 00100000. The two values are concatenated resulting in a new seed value of 00100100. The new seed value is then used to generate four pseudorandom number sequences yJ3 and the selected sequence is bitwise XORed with x3.
[0086] The next VL-data block, x4, and its Qbit value, Q4 (value 0), are retrieved. Because the Qbit value is 0 (a zero block), the seed value is shifted to the right one bit, corresponding to step 689. This results in a new seed value of 00010010. The new seed value is then used to generate four pseudorandom number sequences yJ4 and the selected sequence is bitwise XORed with x4.
[0087] The transformed data resulting from the combination operation, for example, the bitwise XOR operation, is used to generate packets of data. For one embodiment, packets are generated, according to packet structure 300, and transmitted across Transmission media 135. The data received is subsequently decoded. Lost or damaged data may be recovered using data recovery processes.
[0088] In the present embodiment, the Qbit value is explicitly transmitted, such that the value is simply retrieved from the packet. The VL-data is, one embodiment, recovered from the bitstream using the derandomization process described below.
[0089] Randomization, and the subsequent derandomization of data, may be applied to destroy the correlation of incorrect candidate decodings that may be generated during the data decoding process in order to estimate lost or damaged data. The derandomization process does not change the properties of the correct candidate decoding, as it is restored to its original condition. Derandomized data will tend to result in a candidate decoding that exhibits highly correlated properties indicating that the corresponding candidate decoding is a good selection.
[0090] The derandomization process may result in candidate decodings exhibiting highly correlated properties and an incorrect derandomization may result in a decoding exhibiting uncorrelated properties. In addition, the time-varying derandomization advantageously handles zero blocks. In one embodiment, the time-varying randomization may decrease the likelihood that the decoder will miss data errors by resynchronization (i.e., the decoder incorrectly decoding a set of blocks then correctly decoding subsequent blocks without recognizing the error). Encoding parameters may be used to perform the derandomization processes. For example, a derandomization pattern may be chosen based on the values of the compression parameters. In one embodiment, the pattern chosen is based upon ID values.
[0091] In one embodiment, the decoder attempts to decode the block with all possible ID values and associated possible randomizing or seed values to generate candidate decodings. In this embodiment, a local correlation metric is applied to each candidate decoding and a confidence metric is computed for the block.
[0092] In one embodiment, the Qbit value is determined from the determined bits of the received bitstream. An encoded block of data is extracted from the received bitstream based upon the determined block length which is determined from the Qbit value. Candidate blocks are generated using a set of transformations. One of the candidate blocks is then selected based upon a correlation measure.
[0093] In one embodiment, the dequantization of the block may be delayed as the decoder implements a delayed-decision decoder. In one embodiment, the delayed-decision decoder delays the decoding of the data by four blocks. If the decoder calculates four, consecutive low confidence metrics, it concludes that the decoding of the oldest block was incorrect. In that case, an alternate decoding, for example, the next most likely decoding is then evaluated. In one embodiment, the three more recent blocks are derandomized using the alternate guess at seed value used for derandomization. This process continues until a sequence of four decoded blocks are produced wherein the most recent block's confidence metric is greater than a given threshold value τ.
[0094]
FIG. 7 is a flowchart of one embodiment for decoding. In this embodiment, the time-varying derandomization of VL-data blocks using a seed value is utilized. Initially at step 705, a seed value is set to zero. In one embodiment, the seed value is an 8-bit binary number (e.g., 00000000).
[0095] At step 710 the next VL-data block is retrieved. At step 715, the Qbit value is retrieved from the determined bit locations of the received data.
[0096] At step 755, all possible candidate seed values for the current block are computed. In one embodiment, all five possible candidate seed values are computed from the current seed value for the current VL-data block. In this embodiment, the five possible seed values may be:
seed0=seed>>1
seed1=(seed<<2)|0×0
seed2=(seed<<2)|0×1
seed3=(seed<<2)|0×2
seed4=(seed<<2)|0×3
[0097] where “seed” is the seed value as it existed prior to the application of the process to the current block, << and >> represent left shift and right shift operations, respectively, and | represents a concatenation function. The first value is for the zero block in which the seed value is sifted right 1 bit.
[0098] Next, at step 760, the current block is derandomized using all possible seed values. The derandomization of the randomized values using each possible seed value may be viewed as a reverse process of the randomization processing discussed with respect to FIG. 6. Then, at step 765, the correlation's of the possible seed values are computed.
[0099] The computation of correlation values may be determined using a variety of methods including, but not limited to, least squares estimates, linear regression, or any suitable method. One method of determining correlation values is described in more detail in “Source Coding To Provide For Robust Error Recovery During Transmission Losses,” PCT application No. PCTUS98/22347 assigned to the assignee of the present invention.
[0100] Next, at step 770, using a candidate seed value, the confidence metric for the block if determined. If at step 775, the confidence metric ci is above a threshold τ, the candidate decoding of the current VL-data block is used, step 720.
[0101] However, if the confidence metric ci is below the threshold τ, then processing continues at step 780. At step 780, the confidence metric for the oldest block retained in memory is examined. In one embodiment, up to four blocks may be maintained. Thus, in this embodiment, the confidence metric ci−3 is examined. If the confidence metric for the oldest block is less than τ, then, at step 780, an alternate or next-best decoding for the oldest block and is utilized.
[0102] At step 785, the remaining three blocks in memory are re-derandomized based on the new alternate seed value utilized to generate the next-best decoding in step 780. A process similar to that performed to generate candidate decodings is used. Processing then returns to step 755 and steps 780 through 785 are repeated until the confidence metric of the most recent block, ci, is greater than τ.
[0103] In one embodiment, a confidence metric determines when the local correlation metric has failed to produce the correct decoding from among the possible candidate decodings. In one embodiment, the most likely decoding candidate for correlation-based decoding exhibits higher correlation properties as compared to the next-most-likely decoding candidate. The confidence metric is a numerical measurement of the degree to which the best candidate exhibits the higher correlation for any given block. In one embodiment, the decoder performs every possible candidate decoding and then attempts to determine the appropriate decoding based on local correlation. In this embodiment, the decoder determines a confidence metric based on the two most likely decodings, i.e., the two decodings that exhibit the largest local correlation. This metric indicates the degree to which the most likely decoding is superior to the next-most-likely decoding.
[0104] In one embodiment, a decoding that produces no clearly superior choice based on the local correlation structure in the block would have a low confidence metric. Blocks in which there is one decoding that produces a much larger correlation than any of the other possible decodings would have a large confidence metric. In one embodiment, if the decoder computes n consecutive low confidence metrics then it would conclude that a decoding error occurred in the decoding of the oldest block.
[0105] For example, if the decoder determines the correlations (C) of four derandomized blocks as follows:
1|
|
C−3low
C−2low
C−1high
C0high
|
[0106] (where C0 is the most recently derandomized block and C−3 is the oldest derandomized block), then decoder may assume that block −3 was correctly derandomized.
[0107] If decoder determines the correlations of the four derandomized blocks as follows:
2|
|
C−3high
C−2low
C−1low
C0low,
|
[0108] decoder may not make a determination if block −2, −1, and 0 are correctly decoded until decoder derandomized the next block.
[0109] If the next block derandomized has a high correlation, the correlations of the four derandomized blocks may be as follows:
3|
|
C−3low
C−2low
C−1low
C0high.
|
[0110] Decoder may assume that the three low correlation blocks (−3, −2, −1) were derandomized correctly.
[0111] However, if the next block derandomized has a low correlation, the correlations of the four-derandomized blocks may be as follows:
4
[0112] The decoder may assume that the oldest block (−3) was incorrectly derandomized and will explore the oldest block's alternative derandomizations to find the next-most-likely candidate for derandomization. In one embodiment, it is only when all four blocks have low correlation values that the alternatives for the oldest block may be examined. In alternate embodiments, a greater or lesser number of low correlation blocks may be used or a combination of low and high correlations of varying number.
[0113] The invention has been described in conjunction with the preferred embodiment. It is evident that numerous alternatives, modifications, variations and uses will be apparent to those skilled in the art in light of the foregoing description.
Claims
- 1. A method for explicitly transmitting a block attribute of a block of data comprising transforming the data such that determined bits of the data correspond to the value of the block attribute and the block attribute is recoverable from the determined bits of the transformed data.
- 2. The method as set forth in claim 1, wherein transforming is selected from the group comprising:
combining the data with a shuffling value such that the determined bits correspond to the value of the block attribute; combining the data with a shuffling value such that the determined bits equal the value of the block attribute; selecting a sequence to combine with the data such that the determined bits correspond to the value of the block attribute; and replacing the determined bits of the data with a corresponding value of the block attribute.
- 3. The method as set forth in claim 1, wherein transforming comprises selecting a data sequence that when combined with the data generates the value of the block attribute at the determined bits.
- 4. The method as set forth in claim 3, further comprising generating a plurality of data sequences corresponding to different possible values of the determined bits, wherein selecting selects a data sequence of the plurality of data sequences.
- 5. The method as set forth in claim 3, wherein the data is combined with the selected data sequence in a manner selected from the group comprising logically combining, mathematically combining, shuffling, pseudo-randomizing and exclusive-ORing.
- 6. The method as set forth in claim 3, wherein the data sequence is selected based upon information selected from the group comprising state information, state information regarding data sequences previously selected, and selected data of a current block and selected data for at least one other block.
- 7. The method as set forth in claim 4, wherein generating a plurality of data sequences comprises:
providing a seed value for pseudorandomly generating a data sequence, the seed value determined by an ID value, the ID value corresponding to a value which when combined with determined bits of the data generates the block attribute; pseudorandomly generating a plurality of pseudorandom data sequences using the seed value; and selectively replacing the determined bits with values that is one of the possible values.
- 8. The method as set forth in claim 1, wherein data is selected from the group consisting of two-dimensional static images, hologram images, three-dimensional static images, video, two-dimensional moving images, three dimensional moving images, monaural sound, and N-channel sound.
- 9. The method as set forth in claim 6, wherein at least one other block is selected from the group comprising prior blocks and subsequent blocks.
- 10. The method as set forth claim 6, wherein selected data of the current block and selected data of at least one other block is used to form a seed value, and selecting a data sequence for the current block of data is performed in accordance with the seed value.
- 11. The method as set forth in claim 10, further comprising initializing the seed value for a first block of data.
- 12. The method as set forth in claim 3, wherein selecting comprises:
establishing a seed value using data of the current block and at least one other block; and inputting the seed value into a pseudorandom number generator to generate a pseudorandomized sequence of data.
- 13. The method as set forth in claim 1, wherein the current data is encoded by Adaptive Dynamic Range Coding, and the selected block attribute is selected from the group consisting of Qbit value, motion flag, minimum value, maximum value, central value, and Q codes.
- 14. A method for explicitly transmitting a block attribute of a block of image data comprising pixels, said method comprising transforming the pixel data such that determined bits of the pixel data correspond to the value of the block attribute and the block attribute is recoverable from the determined bits of the transformed pixel data.
- 15. The method as set forth in claim 14, wherein transforming is selected from the group comprising:
combining the data with a shuffling value such that the determined bits correspond to the value of the block attribute; combining the data with a shuffling value such that the determined bits equal the value of the block attribute; selecting a sequence to combine with the data such that the determined bits correspond to the value of the block attribute; and replacing the determined bits of the data with a corresponding value of the block attribute.
- 16. The method as set forth in claim 14, wherein transforming comprises selecting a data sequence that when combined with the data generates the value of the block attribute at the determined bits.
- 17. The method as set forth in claim 16, wherein the data is combined with the selected data sequence in a manner selected from the group comprising logically combining, mathematically combining, shuffling, pseudo-randomizing and exclusive-ORing.
- 18. The method as set forth in claim 16, wherein the data sequence is selected based upon information selected from the group comprising state information, state information regarding data sequences previously selected, and selected data of a current block and selected data for at least one other block.
- 19. The method as set forth in claim 14, wherein data is selected from the group consisting of two-dimensional static images, hologram images, three-dimensional static images, video, two-dimensional moving images, three dimensional moving images, monaural sound, and N-channel sound.
- 20. The method as set forth in claim 18, wherein at least one other block is selected from the group comprising prior blocks and subsequent blocks.
- 21. The method as set forth in claim 18, wherein selected data of the current block and selected data of at least one other block is used to form a seed value, and selecting a data sequence for the current block of data is performed in accordance with the seed value.
- 22. The method as set forth in claim 21 further comprising initializing the seed value for a first block of data.
- 23. The method as set forth in claim 16, wherein selecting comprises:
establishing a seed value using data of the current block and at least one other block; and inputting the seed value into a pseudorandom number generator to generate a pseduorandomized sequence of data.
- 24. The method as set forth in claim 14, wherein the current data is encoded by Adaptive Dynamic Range Coding, and the selected block attribute is selected from the group consisting of Qbit value, motion flag, minimum value, maximum value, central value, and Q codes.
- 25. A method for decoding data comprising:
retrieving a block attribute from determined bits of the data; generating a plurality of candidate decodings of the data; selecting a candidate decoding of the plurality of candidate decodings as the decoded data.
- 26. The method as set forth in claim 25, wherein generating comprises providing a plurality of sequences, which when combined with the data, produces candidate decodings.
- 27. The method as set forth in claim 26, wherein providing is selected from the group comprising:
accessing a group of predetermined sequences; and generating a plurality of pseudorandom sequences using a seed value.
- 28. The method as set forth in claim 26, wherein a seed value is generated based upon prior seed values.
- 29. The method as set forth in claim 25, wherein selecting is performed based upon a confidence metric.
- 30. The method as set forth in claim 29, wherein if a best confidence metric of a plurality of confidence metrics generated for the plurality of candidate decodings is less than a threshold, repeatedly choose a next-best decoding for an oldest block of a group of prior blocks and a current block and re-decode later blocks of the group until the confidence metric is greater than or equal to the threshold.
- 31. A method of variable length encoding of correlated data, comprising:
selecting a block length based on data points within an original block; selecting one of a set of transformations; and applying the selected transformation to data points of the block to generate a transformed block; wherein the selecting of the transformation occurs such that an intermediate set of bits within the block are transformed to a value representing the block length.
- 32. The method as set forth in claim 31, further comprising encoding the original block of data points into an intermediate block; said applying applied to data points of the intermediate block.
- 33. The method as set forth in claim 32, wherein:
the set of transformations comprises transformations that transforms the intermediate set of bits into possible block length representations within the encoded set of bits; and the selecting of the transformation comprises selecting one that transforms values of the intermediate set of bits into values representative of the block length.
- 34. The method as set forth in claim 31, further comprising:
modifying a seed value based on based on a current value of the intermediate set of bits; and generating the selected transformation based on the seed value.
- 35. The method as set forth in claim 32, wherein the encoding of the original block into the intermediate block comprises adaptive dynamic range coding (ADRC) encoding.
- 36. The method as set forth in claim 31, wherein the applying of the selected transformation to the intermediate block comprises a bit-wise exclusive OR of the intermediate block with a sequence of bits corresponding to the selected transformation.
- 37. The method as set forth in claim 31, wherein the selected transformation corresponds to a pseudo random sequence.
- 38. A method of decoding variable length correlated data, comprising:
determining a block length based on an encoded set of bits within an encoded bit stream; extracting an encoded block from the encoded bit stream based on the determined block length; applying each of a set of transformations to the encoded block to generate a set of candidate blocks; and selecting one of the candidate blocks as a decoded block based on a correlation measure.
- 39. The method as set forth in claim 38, wherein:
the set of transformations comprises transformations that transform an intermediate set of bits into a possible block length representation within the encoded set of bits; and the selecting of the candidate block comprises selecting the candidate block having a highest correlation measure within itself.
- 40. The method as set forth in claim 38, further comprising decoding candidate blocks using adaptive dynamic range coding (ADRC) decoding.
- 41. The method as set forth in claim 38, wherein the applying of the transformation to the intermediate block comprises a bit wise exclusive OR of the intermediate block with a sequence of bits corresponding to the transformation.
- 42. The method as set forth in claim 38, wherein the set of transformations correspond to a set of pseudo random sequences.
- 43. A method of decoding variable length correlated data, comprising:
selecting a plurality of block lengths based on a plurality of encoded sets of bits within a bit stream; extracting a plurality of encoded blocks from the encoded bit stream based on the plurality of block lengths; for each of the plurality of blocks, modifying a seed value into a set of potential seed values based on possible values of an intermediate set of bits of the block, generating a set of transformations based on the set of potential seed values, applying the set of transformations to the encoded block to generate a set of candidate blocks, selecting one of the candidate blocks as a decoded block based on a correlation measure over the plurality of blocks, and selecting one of the potential seed values as a subsequent seed value for subsequent blocks based on the correlation measure.
- 44. The method as set forth in claim 43, further comprising decoding candidate blocks using adaptive dynamic range coding (ADRC) decoding.
- 45. The method as set forth in claim 43, wherein the applying of the transformation to the intermediate block comprises a bit wise exclusive OR of the intermediate block with a sequence of bits corresponding to the transformation.
- 46. The method as set forth in claim 43, wherein the set of transformations corresponds to a set of pseudo random sequences.
- 47. An apparatus configured to explicitly transmitting a block attribute of a block of data comprising a transformer configured to transform the data such that determined bits of the data correspond to the value of the block attribute and the block attribute is recoverable from the determined bits of the transformed data.
- 48. The apparatus as set forth in claim 47, wherein transformer is selected from the group comprising:
a first combiner configured to combine the data with a shuffling value such that the determined bits correspond to the value of the block attribute; a second configured to combine the data with a shuffling value such that the determined bits equal the value of the block attribute; a selector configured to select a sequence to combine with the data such that the determined bits correspond to the value of the block attribute; and a replacer configured to replace the determined bits of the data with a corresponding value of the block attribute.
- 49. The apparatus as set forth in claim 47, wherein the transformer is configure to select a data sequence that when combined with the data generates the value of the block attribute at the determined bits.
- 50. The apparatus as set forth in claim 49, further comprising a sequence generator configured to generate a plurality of data sequences corresponding to different possible values of the determined bits, wherein the transformer is configured to select a data sequence of the plurality of data sequences.
- 51. The apparatus as set forth in claim 49, wherein the data is combined with the selected data sequence in a manner selected from the group comprising logically combining, mathematically combining, shuffling, pseudo-randomizing and exclusive-ORing.
- 52. The apparatus as set forth in claim 49, wherein the data sequence is selected based upon information selected from the group comprising state information, state information regarding data sequences previously selected, and selected data of a current block and selected data for at least one other block.
- 53. The apparatus as set forth in claim 50, wherein the sequence generator comprises:
an input configured to receive a seed value, the seed value determined by an ID value, the ID value corresponding to a value which when combined with determined bits of the data generates the block attribute; a pseudorandom number generator configured to generate a plurality of pseudorandom data sequences using the seed value; and a replacer configured to replace the determined bits with values that is one of the possible values.
- 54. The apparatus as set forth claim 47 wherein data is selected from the group consisting of two-dimensional static images, hologram images, three-dimensional static images, video, two-dimensional moving images, three dimensional moving images, monaural sound, and N-channel sound.
- 55. The apparatus as set forth claim 52, wherein at least one other block is selected from the group comprising prior blocks and subsequent blocks.
- 56. The apparatus as set forth claim 52, wherein selected data of the current block and selected data of at least one other block is used to form a seed value, and the transformer is configured to select a data sequence for the current block of data in accordance with the seed value.
- 57. The apparatus as set forth in claim 56, further comprising a seed generated configured to initialize the seed value for a first block of data.
- 58. The apparatus as set forth in claim 49, wherein the transformer comprises a seed generator configured to establish a seed value using data of the current block and at least one other block and a pseudorandom number generator configured to receive the seed value and generate a pseudorandomized sequence of data.
- 59. The apparatus as set forth in claim 47 wherein the current data is encoded by Adaptive Dynamic Range Coding, and the selected block attribute is selected from the group consisting of Qbit value, motion flag, minimum value, maximum value, central value, and Q codes.
- 60. A decoder configured to decode data comprising:
an extractor configured to retrieve a block attribute from determined bits of the data; a reverse transformer configured to generate a plurality of candidate decodings of the data and select a candidate decoding of the plurality of candidate decodings as the decoded data.
- 61. The apparatus as set forth in claim 60, wherein the reverse transformer is further configured to provide a plurality of sequences, which when combined with the data, produces candidate decodings.
- 62. The apparatus as set forth in claim 61, wherein the reverse transformer is configured to provide in accordance with a mechanism selected from the group comprising:
access a group of predetermined sequences; and generate a plurality of pseudorandom sequences using a seed value.
- 63. The apparatus as set forth in claim 61, wherein a seed value is generated based upon prior seed values.
- 64. The apparatus as set forth in claim 60, wherein the reverse transformer is configured to select based upon a confidence metric.
- 65. The apparatus as set forth in claim 64, wherein if a best confidence metric of a plurality of confidence metrics generated for the plurality of candidate decodings is less than a threshold, repeatedly choose a next-best decoding for an oldest block of a group of prior blocks and a current block and re-decode later blocks of the group until the confidence metric is greater than or equal to the threshold.
- 66. An apparatus configure to perform variable length encoding of correlated data, comprising:
an encoder configured to select a block length based on data points within an original block, select one of a set of transformations and apply the selected transformation to data points of the block to generate a transformed block; wherein an intermediate set of bits within the block are transformed to a value representing the block length.
- 67. The apparatus as set forth in claim 66, wherein the encoder is further configured to encode the original block of data points into an intermediate block; wherein the selected transformation is applied to data points of the intermediate block.
- 68. The apparatus as set forth in claim 66, wherein:
the set of transformations comprises transformations that transforms the intermediate set of bits into possible block length representations within the encoded set of bits; and the encoder is configured to select one that transforms values of the intermediate set of bits into values representative of the block length.
- 69. The apparatus as set forth in claim 66, wherein the encoder is further configured to modify a seed value based on based on a current value of the intermediate set of bits and generate the selected transformation based on the seed value.
- 70. The apparatus as set forth in claim 67, wherein the encoder encodes the original block into the intermediate block using adaptive dynamic range coding (ADRC) encoding.
- 71. The apparatus as set forth in claim 66, wherein the encoder is configured to perform a selected transformation to the intermediate block by performing a bit-wise exclusive OR of the intermediate block with a sequence of bits corresponding to the selected transformation.
- 72. The apparatus as set forth in claim 66, wherein the selected transformation corresponds to a pseudo random sequence.
- 73. An apparatus configured to decode variable length correlated data, comprising:
an extractor configured to determine a block length based on an encoded set of bits within an encoded bit stream; a reverse transformer configured to retrieve an encoded block from the encoded bit stream based on the determined block length, apply each of a set of transformations to the encoded block to generate a set of candidate blocks and select one of the candidate blocks as a decoded block based on a correlation measure.
- 74. The apparatus as set forth in claim 73, wherein:
the set of transformations comprises transformations that transform an intermediate set of bits into a possible block length representation within the encoded set of bits; and the reverse transformer selects the candidate block having a highest correlation measure within itself.
- 75. The apparatus as set forth in claim 74, further comprising decoding candidate blocks using adaptive dynamic range coding (ADRC) decoding.
- 76. A decoder configured to decode variable length correlated data, the decoder configured to:
select a plurality of block lengths based on a plurality of encoded sets of bits within a bit stream; extract a plurality of encoded blocks from the encoded bit stream based on the plurality of block lengths; and for each of the plurality of blocks, modify a seed value into a set of potential seed values based on possible values of an intermediate set of bits of the block, generate a set of transformations based on the set of potential seed values, apply the set of transformations to the encoded block to generate a set of candidate blocks, select one of the candidate blocks as a decoded block based on a correlation measure over the plurality of blocks, and select one of the potential seed values as a subsequent seed value for subsequent blocks based on the correlation measure.
- 77. The method as set forth in claim 76, wherein the decoder is further configured to decode candidate blocks using adaptive dynamic range coding (ADRC) decoding.
- 78. The apparatus as set forth in claim 76, wherein the applying of the transformation to the intermediate block comprises a bit wise exclusive OR of the intermediate block with a sequence of bits corresponding to the transformation.
- 79. The apparatus as set forth in claim 76, wherein the set of transformations corresponds to a set of pseudo random sequences.
- 80. A computer readable media comprising instructions which when executed by a processor, explicitly transmits a block attribute of a block of data comprising transforming the data such that determined bits of the data correspond to the value of the block attribute and the block attribute is recoverable from the determined bits of the transformed data.
- 81. The computer readable medium as set forth in claim 80, wherein the step of transforming is selected from the group comprising:
combining the data with a shuffling value such that the determined bits correspond to the value of the block attribute; combining the data with a shuffling value such that the determined bits equal the value of the block attribute; selecting a sequence to combine with the data such that the determined bits correspond to the value of the block attribute; and replacing the determined bits of the data with a corresponding value of the block attribute.
- 82. The computer readable medium as set forth in claim 80, wherein transforming comprises selecting a data sequence that when combined with the data generates the value of the block attribute at the determined bits.
- 83. The computer readable medium as set forth in claim 82, further comprising instructions which when executed by a processor generate a plurality of data sequences corresponding to different possible values of the determined bits, wherein selecting selects a data sequence of the plurality of data sequences.
- 84. The computer readable medium as set forth in claim 82, wherein the data is combined with the selected data sequence in a manner selected from the group comprising logically combining, mathematically combining, shuffling, pseudo-randomizing and exclusive-ORing.
- 85. The computer readable medium as set forth in claim 82, wherein the data sequence is selected based upon information selected from the group comprising state information, state information regarding data sequences previously selected, and selected data of a current block and selected data for at least one other block.
- 86. The computer readable medium as set forth in claim 83, wherein generating a plurality of data sequences comprises:
providing a seed value for pseudorandomly generating a data sequence, the seed value determined by an ID value, the ID value corresponding to a value which when combined with determined bits of the data generates the block attribute; pseudorandomly generating a plurality of pseudorandom data sequences using the seed value; and selectively replacing the determined bits with values that is one of the possible values.
- 87. The computer readable medium as set forth in claim 80, wherein data is selected from the group consisting of two-dimensional static images, hologram images, three-dimensional static images, video, two-dimensional moving images, three dimensional moving images, monaural sound, and N-channel sound.
- 88. The computer readable medium as set forth in claim 85, wherein at least one other block is selected from the group comprising prior blocks and subsequent blocks.
- 89. The computer readable medium as set forth in claim 85, wherein selected data of the current block and selected data of at least one other block is used to form a seed value, and selecting a data sequence for the current block of data is performed in accordance with the seed value.
- 90. The computer readable medium as set forth in claim 89, further comprising initializing the seed value for a first block of data.
- 91. The computer readable medium as set forth in claim 82, wherein the step of selecting comprises:
establishing a seed value using data of the current block and at least one other block; and inputting the seed value into a pseudorandom number generator to generate a pseudorandomized sequence of data.
- 92. The computer readable medium as set forth in claim 80, wherein the current data is encoded by Adaptive Dynamic Range Coding, and the selected block attribute is selected from the group consisting of Qbit value, motion flag, minimum value, maximum value, central value, and Q codes.
- 93. A computer readable medium comprising instructions which when executed by a processor perform a decoding of data comprising:
retrieving a block attribute from determined bits of the data; generating a plurality of candidate decodings of the data; selecting a candidate decoding of the plurality of candidate decodings as the decoded data.
- 94. The computer readable medium as set forth in claim 93, wherein generating comprises providing a plurality of sequences, which when combined with the data, produces candidate decodings.
- 95. The computer readable medium as set forth in claim 94, wherein providing is selected from the group comprising:
accessing a group of predetermined sequences; and generating a plurality of pseudorandom sequences using a seed value.
- 96. The computer readable medium as set forth in claim 94, wherein a seed value is generated based upon prior seed values.
- 97. The computer readable medium as set forth in claim 93, wherein selecting is performed based upon a confidence metric.
- 98. The computer readable medium as set forth in claim 97, wherein if a best confidence metric of a plurality of confidence metrics generated for the plurality of candidate decodings is less than a threshold, repeatedly choose a next-best decoding for an oldest block of a group of prior blocks and a current block and re-decode later blocks of the group until the confidence metric is greater than or equal to the threshold.
- 99. A computer readable medium comprising instructions which when executed by a processor perform variable length encoding of correlated data, comprising:
selecting a block length based on data points within an original block; selecting one of a set of transformations; and applying the selected transformation to data points of the block to generate a transformed block; wherein the selecting of the transformation occurs such that an intermediate set of bits within the block are transformed to a value representing the block length.
- 100. The computer readable medium as set forth in claim 99, further comprising instructions which when executed by a processor encode the original block of data points into an intermediate block; said applying applied to data points of the intermediate block.
- 101. The computer readable medium as set forth in claim 99, wherein:
the set of transformations comprises transformations that transforms the intermediate set of bits into possible block length representations within the encoded set of bits; and the selecting of the transformation comprises selecting one that transforms values of the intermediate set of bits into values representative of the block length.
- 102. The computer readable medium as set forth in claim 99, further comprising instructions which when executed by a processor perform the steps of:
modifying a seed value based on based on a current value of the intermediate set of bits; and generating the selected transformation based on the seed value.
- 103. The computer readable medium as set forth in claim 100, wherein the encoding of the original block into the intermediate block comprises adaptive dynamic range coding (ADRC) encoding.
- 104. The computer readable medium as set forth in claim 99, wherein the applying of the selected transformation to the intermediate block comprises a bit-wise exclusive OR of the intermediate block with a sequence of bits corresponding to the selected transformation.
- 105. The method as set forth in claim 99, wherein the selected transformation corresponds to a pseudo random sequence.
- 106. A computer readable medium comprising instructions which when executed by a processor of decode variable length correlated data, comprising the steps of:
determining a block length based on an encoded set of bits within an encoded bit stream; extracting an encoded block from the encoded bit stream based on the determined block length; applying each of a set of transformations to the encoded block to generate a set of candidate blocks; and selecting one of the candidate blocks as a decoded block based on a correlation measure.
- 107. The computer readable medium as set forth in claim 106, wherein:
the set of transformations comprises transformations that transform an intermediate set of bits into a possible block length representation within the encoded set of bits; and the selecting of the candidate block comprises selecting the candidate block having a highest correlation measure within itself.
- 108. The computer readable medium as set forth in claim 106, further comprising decoding candidate blocks using adaptive dynamic range coding (ADRC) decoding.
- 109. The computer readable medium as set forth in claim 106, wherein the applying of the transformation to the intermediate block comprises a bit wise exclusive OR of the intermediate block with a sequence of bits corresponding to the transformation.
- 110. The computer readable medium as set forth in claim 106, wherein the set of transformations correspond to a set of pseudo random sequences.
- 111. A computer readable medium comprising instructions which when executed by a processor decode variable length correlated data, comprising the steps of:
selecting a plurality of block lengths based on a plurality of encoded sets of bits within a bit stream; extracting a plurality of encoded blocks from the encoded bit stream based on the plurality of block lengths; for each of the plurality of blocks, modifying a seed value into a set of potential seed values based on possible values of an intermediate set of bits of the block, generating a set of transformations based on the set of potential seed values, applying the set of transformations to the encoded block to generate a set of candidate blocks, selecting one of the candidate blocks as a decoded block based on a correlation measure over the plurality of blocks, and selecting one of the potential seed values as a subsequent seed value for subsequent blocks based on the correlation measure.
- 112. The computer readable medium as set forth in claim 111, further comprising instructions which when executed decode candidate blocks using adaptive dynamic range coding (ADRC) decoding.
- 113. The computer readable medium as set forth in claim 111, wherein the applying of the transformation to the intermediate block comprises a bit wise exclusive OR of the intermediate block with a sequence of bits corresponding to the transformation.
- 114. The computer readable medium as set forth in claim 111, wherein the set of transformations corresponds to a set of pseudo random sequences.
- 115. An apparatus for explicitly transmitting a block attribute of a block of data comprising means for transforming the data such that determined bits of the data correspond to the value of the block attribute and the block attribute is recoverable from the determined bits of the transformed data.
- 116. The apparatus as set forth in claim 114, wherein the means for transforming is selected from the group comprising:
means for combining the data with a shuffling value such that the determined bits correspond to the value of the block attribute; means for combining the data with a shuffling value such that the determined bits equal the value of the block attribute; means for selecting a sequence to combine with the data such that the determined bits correspond to the value of the block attribute; and means for replacing the determined bits of the data with a corresponding value of the block attribute.
- 117. The apparatus as set forth in claim 114, wherein the means for transforming comprises means for selecting a data sequence that when combined with the data generates the value of the block attribute at the determined bits.
- 118. An apparatus for decoding data comprising:
means for retrieving a block attribute from determined bits of the data; means for generating a plurality of candidate decodings of the data; and means for selecting a candidate decoding of the plurality of candidate decodings as the decoded data.
- 119. The apparatus as set forth in claim 118, wherein the means for generating comprises means for providing a plurality of sequences, which when combined with the data, produces candidate decodings.
- 120. An apparatus for variable length encoding of correlated data, comprising:
means for selecting a block length based on data points within an original block; means for selecting one of a set of transformations; and means for applying the selected transformation to data points of the block to generate a transformed block; wherein the selecting of the transformation occurs such that an intermediate set of bits within the block are transformed to a value representing the block length.
- 121. The apparatus as set forth in claim 120, wherein the means for applying the selected transformation comprises means for applying a bit-wise exclusive OR using a sequence of bits corresponding to the selected transformation.
- 122. An apparatus for decoding variable length correlated data, comprising:
means for determining a block length based on an encoded set of bits within an encoded bit stream; means for extracting an encoded block from the encoded bit stream based on the determined block length; means for applying each of a set of transformations to the encoded block to generate a set of candidate blocks; and means for selecting one of the candidate blocks as a decoded block based on a correlation measure.
- 123. An apparatus for decoding variable length correlated data, comprising:
means for selecting a plurality of block lengths based on a plurality of encoded sets of bits within a bit stream; means for extracting a plurality of encoded blocks from the encoded bit stream based on the plurality of block lengths; for each of the plurality of blocks, means for modifying a seed value into a set of potential seed values based on possible values of an intermediate set of bits of the block, means for generating a set of transformations based on the set of potential seed values, means for applying the set of transformations to the encoded block to generate a set of candidate blocks, means for selecting one of the candidate blocks as a decoded block based on a correlation measure over the plurality of blocks, and means for selecting one of the potential seed values as a subsequent seed value for subsequent blocks based on the correlation measure.
Continuations (1)
|
Number |
Date |
Country |
Parent |
09437175 |
Nov 1999 |
US |
Child |
10351732 |
Jan 2003 |
US |