cornerIndexesToXY is now protected since it's called by the ContourScanner now