After testing, tweaked value for color comparison to improve CSEG, and moved some duplicate shape-fill code to SharedUtils_OpenCV.