thresholding based on hsv; sharp regions only