added perf tests to some imgproc functions