extended la taille
This commit is contained in:
parent
43b0b78912
commit
c3a9f8a8ea
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class Traite_image {
|
||||||
|
|
||||||
Mat next_stab;
|
Mat next_stab;
|
||||||
stabiliseImg(prev, next, 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 next_stab_cropped = next_stab(myROI);
|
||||||
Mat prev_cropped = prev(myROI);
|
Mat prev_cropped = prev(myROI);
|
||||||
searchForMovement(prev_cropped, next_stab_cropped, output);
|
searchForMovement(prev_cropped, next_stab_cropped, output);
|
||||||
|
|
Loading…
Reference in a new issue