Re: motion sensor signal compression/prediction



On Aug 13, 2:44 pm, Nils <n.pipenbri...@xxxxxxxxx> wrote:
Hi folks.

I'm currently chewing on the following problem:

I have a bunch of huge motion sensor signals to lossy compress. Since I
need random access to the samples block based compression schemes are
out of question.

The current approach works like this:

I store every 8th sample, quantized from 32 bit down to 8 bits and use
this as a rough approximation of the signal. Along with this prediction
data I store the errors, agan quantized and with a variable bit-width
per 8 sample block.

I know that this is a very crude approach but unfortunatley the system
where I have to decompress the data on is not as powerful as I'd like it
to be. I have to decompress several hundrets of streams at nearly an
instant. I have fast RAM and a slow CPU. Fortunately compression time is
not *that* much of an issue.

In the current approach I see one thing where I can improve a lot: My
prediction. Taking every n'th sample is far from optimal. I'm sure I can
do much better here.

I thought about doing a linear least square fit to get my error down.
That will help, but what I really want is a prediction that minimizes
the the number of significant bits of the error per block.

Does some function-fitting like this exist? Links to (free available)
papers or keywords for a good google session are welcome..

Thanks, guys..

Nils

First of all, wouldn't it be better to apply a lowpass filter BEFORE
you downsample?

Secondly, how does your "prediction" work? I don't understand.
Sounds like you are doing residual encoding similar to the standard
approach in LPC coding. Typically they use something like Rice-
Golomb coding of the residuals, which is suited for a particular
signal value distribution.

Julius
.



Relevant Pages

  • motion sensor signal compression/prediction
    ... I have a bunch of huge motion sensor signals to lossy compress. ... need random access to the samples block based compression schemes are ... Along with this prediction ...
    (comp.dsp)
  • Re: HD Fans Crying Foul Over Compressed Signals
    ... As cable TV companies pack ever more HD channels into limited bandwidth, ... increased signal compression being used to squeeze three digital HD signals ... eyes and ears -- and Comcast says it should be. ... compression have been showing up on Web forums, ...
    (rec.arts.tv)
  • HD Fans Crying Foul Over Compressed Signals
    ... HD Fans Crying Foul Over Compressed Signals ... As cable TV companies pack ever more HD channels into limited bandwidth, ... eyes and ears -- and Comcast says it should be. ... compression have been showing up on Web forums, ...
    (rec.arts.tv)
  • Re: Other "tested" techniques for detecting bias
    ... If you know that an algorithm was used then you don't need to ... You don't "know" until you test your prediction against what actually ... This is the restriction that SETI ... ways to conceal their signals so that we could not decipher them. ...
    (talk.origins)
  • Re: context modeling for numbers
    ... TR> Second, it is a real to real transform, meaning that you get a residual ... I get best compression ratios when residual is less than 1 bit per sample. ... But if those signals are also of a finite precision then we do not care about this leakage -- it is just below quantization threshold. ... But my KLT somehow got rid of this "tough end". ...
    (comp.compression)