Initial OpenCV code snippet for noise removal