I'm looking for a utility for doing comparison work on a pair of sequences of values, each of which is accessible in raw host memory format - not as text - with no headers and such. For simplicity, you may assume that the input is given as two files with sizes being a multiple of k, with each containing a k*8-bit integer value.

It is not difficult to write a simple program and compute some simple statistics:

  • Difference between the maxima of values in each of the images
  • Maximum difference of corresponding elements
  • Variations


What I would like is a utility which lets me easily phrase what I want compute on this data, e.g. with some sort of expression syntax that gets interpreted.


  • Gratis
  • Runs on Linux


  • Libre
  • Actively maintained

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.