Thresholding: Simple Image Segmentation using OpenCV