Compressing three individual jpeg pics containing temporal redundancy?

Posted by michael on Stack Overflow See other posts from Stack Overflow or by michael
Published on 2010-04-27T20:01:07Z Indexed on 2010/04/27 20:03 UTC
Read the original article Hit count: 302

Filed under:
|
|
|

I am interfacing and embedded device with a camera module that returns a single jpeg compressed frame each time I trigger it.

I would like to take three successive shots (approx 1 frame per 1/4 second) and further compress the images into a single file. The assumption here is that there is a lot of temporal redundancy, therefore lots of room for more compression across the three frames (compared to sending three separate jpeg images).

I will be implementing the solution on an embedded device in C without any libraries and no OS.

The camera will be taking pics in an area with very little movement (no visitors or screens in the background, maybe a tree with swaying branches), so I think my assumption about redundancy is pretty solid.

When the file is finally viewed on a pc/mac, I don't mind having to write something to extract the three frames (so it can be a nonstandard cluge)

So I guess the actual question is: What is the best way to compress these three images together given the fact that they are already in JPEG format (it is a possibly to convert back to a raw image, but if i dont have too...)

© Stack Overflow or respective owner

Related posts about jpeg

Related posts about compression