An OpenCV image denoising function implemented in iOS