From c3a9f8a8ea8fecfcacd83602ee8a8fac872e3a07 Mon Sep 17 00:00:00 2001 From: samilyjcc Date: Mon, 30 May 2016 14:30:13 +0200 Subject: [PATCH] extended la taille --- src/papillon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/papillon.cpp b/src/papillon.cpp index 0ed7567..1bc07bb 100644 --- a/src/papillon.cpp +++ b/src/papillon.cpp @@ -65,7 +65,7 @@ class Traite_image { Mat next_stab; stabiliseImg(prev, next, next_stab); - Rect myROI(next_stab.size().width/4, next_stab.size().height/4, next_stab.size().width/2, next_stab.size().height/2); + Rect myROI(next_stab.size().width/8, next_stab.size().height/8, next_stab.size().width*3/4, next_stab.size().height*3/4); Mat next_stab_cropped = next_stab(myROI); Mat prev_cropped = prev(myROI); searchForMovement(prev_cropped, next_stab_cropped, output);