image registration using opencv