Re: motion sensor signal compression/prediction
- From: julius <juliusk@xxxxxxxxx>
- Date: Fri, 14 Aug 2009 08:16:05 -0700 (PDT)
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
.
- Prev by Date: Re: sinusoidal parameter estimation
- Next by Date: Re: confused about white noise definition
- Previous by thread: motion sensor signal compression/prediction
- Next by thread: how to measure time in TI C64xx DSP?
- Index(es):
Relevant Pages
|