Why is NKI compression so fast ?

  • Hi


    In the last days I did some testing for transfer speeds.
    My data is stored as NKI N2 and I noticed that when I send it as uncompressed I get 70-100 images/s.
    From J2K lossless stored data sending as uncompressed is much slower - around 20 images/s


    So what makes NKI compression so fast?

  • Simplicity!


    it codes difference as 7 or 15 bits, and n3 throws in run length encoding as well. The entire decoder is maybe 30 lines code. And compressed data reads faster from disk.


    Marcel

  • Quote from marcelvanherk

    Simplicity!


    it codes difference as 7 or 15 bits, and n3 throws in run length encoding as well. The entire decoder is maybe 30 lines code. And compressed data reads faster from disk.


    Marcel


    Giving the amazing speed it is a much better choice than any JPEG compression - and in my opinion worth a shot to maybe squeeze out a tiny bit more compression and/or speed :D

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!