functions about resolution, quantization, color, noise thresholding, histogram, contours, segmentation and feature extraction using openCV 2.4.3