Crop image, extend when possible
width and heigth are const in a translation, there is no need for these lines.
Fixed bug in top rectangule calculation
Allow a debug version (press any key to continue)
Obtain final result from roi