![]() |
![]() |
#1 |
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
252138 Posts |
![]()
I ran across this video which talks about a very recent image compression algorithm (QOI)
https://youtu.be/EFUYNoFRHQI?t=1410 The video is mainly about PNG, but the section that I linked to is about how QOI can produce similar lossless compression and do so about 20 to 50 times faster. |
![]() |
![]() |
![]() |
#2 |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
6,679 Posts |
![]()
I all for faster processing, and I like the idea of going back to basics and exploiting simplicity. So good job to the QOI dev.
![]() If it was for video I can see the smaller time factor being a huge advantage. Is there really a big time bottleneck for still image compressing? |
![]() |
![]() |
![]() |
#3 |
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
10,891 Posts |
![]()
I foresee that it might be useful in applications where power or processor time is limited. For example on a spacecraft. Power is a big factor. Also time can be a factor during imaging. If you can process the image about as fast as you can read the sensor, you can compress on the fly and store more images in the same space. Or if you can shoot a picture, compress, and shoot the next target faster, you can build a mosaic in less time, giving you more time for more science.
|
![]() |
![]() |
![]() |
#4 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
10,273 Posts |
![]()
"Electric" power is not scarce, on a spaceship. It is plenty. Solar, atomic (thermal), etc.
"Propulsion" power is scarce. There is enough power to drive the computers, but unfortunately this can't be used to move the ship, mostly to rotate it in place (gyroscopes and fly wheels). But to move it, the actual tech is still to throw something, or somebody ![]() On topic: The compression stuff is not new, mathematical model is from the 70's or so, and I used similar methods long time ago. A pH Controller for aquarium hobbyists I personally developed 8-9 years ago (which still sells, and it is a good product, if you have one, you can see my name there if you know what buttons to touch, and when) stores the bitmaps EXACTLY in the way described! (plus additional tricks, because only ONE bitmap has 320x240x3 bytes when uncompressed, i.e. about 230kB, and the WHOLE available flash memory in that controller, i.e. for code, data, images, tables for pH and temperature compensation, etc, is just 128kB ![]() Last fiddled with by LaurV on 2022-05-09 at 05:04 |
![]() |
![]() |
![]() |
#5 | ||
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
10,891 Posts |
![]() Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#6 | |
Romulan Interpreter
"name field"
Jun 2011
Thailand
10,273 Posts |
![]() Quote:
OTOH, in about 40 years of playing with keyboards, I never needed a method to "compress fast". But this of course, may be due to my particular activity line, and, not in the last case, the age. Long time ago we stored files on floppies, and the storage was extremely limited. Also, sending data was slow, like 9600 bauds modems, etc (I have seen the times of the 2400 bauds, but at the time I wasn't programming anything), so there was a "big" requirement to compress data well, i.e. reduce the size of the data as much as possible, without losing bits. I remember spending hours with early versions of LZEXE, RAR, etc, to fit files on floppies (even with "extended" format - we had some tools that could format 1.44 floppies to larger capacity, like 1.6 or 1.8, or so, I don't remember exact). We would "xor" files with other strings and/or cut them in pieces and re-pack them many times with available tools to save some kilobytes, and then boast to friends, haha. Stupid kids. I made my first compression program years later. More recently, moving to "production", and "microcontrollers", the requirement was to store the available data (image, sound, etc), in very limited memory available (kilobytes), and to be able to decompress it fast when requested (like to show it on screen, or to play an alarm warning sound, etc), sometimes using only tens or hundreds of bytes available RAM. Good luck to decompress jpg or png in 200 bytes of RAM. Using a smaller, cheaper MCU in the schematic, 50 cents instead of 3-dollars (for one with more memory and resources) would make the bosses/customers happy and (rarely) result in small financial gains (bonuses, etc). Think about producing 100k or 500k, or more pieces... But to compress the data, nobody cared, in my line of job, I mean, I could use the company's severs to crunch (cook/prepare) the data for hours, haha. About making the algorithms available, I never thought about keeping them secret. I would boast about them on all the web if they would have any worth and if customers would allow publishing things about their products. I always considered I only did few tricks, of which I was happy for a while, not a big deal, not something to interest somebody so much. I have made occasionally products in sensoric industries from which the customers made patents later, but I never applied by myself for such a patent; however, I have patented some shit involuntarily because other people put my name on the paper but I never made any money from any patent. I am for "open" stuff. Last fiddled with by LaurV on 2022-05-09 at 10:41 |
|
![]() |
![]() |
![]() |
#7 | ||
"Composite as Heck"
Oct 2017
93310 Posts |
![]()
Surreal seeing a separate niche interest of mine overlap here. QOI boils down to being a bytewise per-pixel encoder with half a dozen ops:
Quote:
Going beyond the average case there's a number of modifications to the fixed bitsream format that can be done to specialise for a particular use case:
Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Chest compression game | M344587487 | Chess | 13 | 2021-09-16 19:34 |
Buddy compression | SELROC | GPU Computing | 2 | 2019-03-08 12:58 |
Can't open .tiff image | M0CZY | Linux | 7 | 2014-05-15 12:55 |
GPU optimization over snappy compression | ihavethepotenti | Programming | 2 | 2013-02-15 00:20 |
Compression program | Prime95 | LMH > 100M | 1 | 2005-03-23 15:18 |