add some robustness to autoroi
roi detection functionnal. need more testing and cleaning
ROI auto detection ++: improved on large images