Local modification to compile and run on windows (32 bits version) :
- Static array with dynamic value size are not accepted by microsoft VS 2008 compiler.
- Use jpeg/gsl/pthread/blas/lapack/f2c precompiled library.
- iterator.begin()-1 could crash on windows stl.
- Optimize the JPEG loading.
Additional notes (Known issues):
The binary could crash because of too large memory allocation if you use many images. Use resonable sized dataset.