add OpenCL option to register_imahes.py