Fixing the occurring infinite loop, by using cv::transform instead of pointer arithmetic.
cv::transform
Signed-off-by: schroedtert t.schroedter@fz-juelich.de
Closes #170 (closed)