ExtractRect
find the largest rectangle inscribed in a non-convex polygon
the code is inspired from the stackoverflow discussion that can be found here here
the function findRotMaxRect can be run in different mode using
- optimization algo
- brute multiprocessor
- brute serial
To speed-up the algo, the initial image was reduce by a factor 3