Content deleted Content added
Scottcraig (talk | contribs) Added examples to contrast adaptive with static. removed one error. |
real headings, Category:Data compression |
||
Line 5:
In adaptive coding, the encoder and decoder are instead equipped with identical rules about how they will alter their models in response to the actual content of the data, and otherwise start with a blank slate, meaning that no initial model needs to be transmitted. As the data is transmitted, both encoder and decoder adapt their models, so that unless the character of the data changes radically, the model becomes better-adapted to the data it's handling and compresses it more efficiently.
# Initialize the data model as per agreement.
# While there is more data to send
Line 12:
## Modify the data model based on the last symbol.
# Initialize the data model as per agreement.
# While there is more data to receive
Line 20:
Any adaptive coding method has a corresponding ''static model'' method, in which the data model is precalculated and then transmitted with the data.
# Initialize the data model based on a first pass over the data.
# Transmit the data model.
Line 27:
## Encode the next symbol using the data model and send it.
# Receive the data model.
# While there is more data to receive
## Decode the next symbol using the data model and output it.
[[Category:Data compression]]
|