Realtime Compression Algorithms
-
Hi, I have images coming to me very quickly, 200 pictures per second, I have all the BYTE arrays, and I need to do a lossless compression in realtime, is there any algorithm out there that can keep up with this, and is there anyway code samples that allow me to do this. Thanks in advance.
-
Hi, I have images coming to me very quickly, 200 pictures per second, I have all the BYTE arrays, and I need to do a lossless compression in realtime, is there any algorithm out there that can keep up with this, and is there anyway code samples that allow me to do this. Thanks in advance.
The only thing I can think of that might keep up is RLE (Run Length Encoding). It won't give you that much compression, depending on the images, but it is light and fast. If you're talking sequential video frames then a frame difference algorithum might be better. I thought most people still used DSP hardware for this sort of thing:confused:
Nothing is exactly what it seems but everything with seems can be unpicked.
-
Hi, I have images coming to me very quickly, 200 pictures per second, I have all the BYTE arrays, and I need to do a lossless compression in realtime, is there any algorithm out there that can keep up with this, and is there anyway code samples that allow me to do this. Thanks in advance.
Hi Godspeed,
godspeed123 wrote:
I need to do a lossless compression...
PNG is a nice format - it is basically a compressed bitmap. It is available an PNG8 and PNG24. I don't know through put numbers for the realtime requrements. I should probably be asking, what is the current format of the images? Jeff
-
Hi Godspeed,
godspeed123 wrote:
I need to do a lossless compression...
PNG is a nice format - it is basically a compressed bitmap. It is available an PNG8 and PNG24. I don't know through put numbers for the realtime requrements. I should probably be asking, what is the current format of the images? Jeff
Right now they come in a byte stream, there is no format to them, its basically just raw data.
-
Hi, I have images coming to me very quickly, 200 pictures per second, I have all the BYTE arrays, and I need to do a lossless compression in realtime, is there any algorithm out there that can keep up with this, and is there anyway code samples that allow me to do this. Thanks in advance.
Where are you getting that frame rate from? if its a camera you might be able to get away with differences on the images, which would be a small performance hit but not nearly as much as converting it to PNG. My advice if you do wish to compress the images send the data to a grid for conversion to bitmap and then to lossless PNG.
-Steven Hicks
CPA
CodeProjectAddict
Actual Linux Penguins were harmed in the creation of this message.
More tutorials: Ltpb.8m.com: Tutorials |404Browser.com (Download Link)