removed medianBlur
removed 2nd series of approxPolyDP calls
Merge branch 'single-threaded-opt'