Implement Log-polar transformation using opencv