Implemented threshold demo; @ToDo: edge detection, find contours, etc.