accelerated code assuming sequential image set, changed CMakeList to allow openmp run