Merge branch 'MergeBranch_resultImage' of https://github.com/MMRVZ2017/MPK.Puzzle into MergeBranch_resultImage
This commit is contained in:
commit
f68a6b5559
@ -1,7 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Created by Raphael Maenle on 21/12/2017.
|
// Created by Raphael Maenle on 21/12/2017.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "../../header/solve.h"
|
#include "../../header/solve.h"
|
||||||
#include "../../header/input.h"
|
#include "../../header/input.h"
|
||||||
|
|
||||||
@ -193,11 +192,6 @@ Mat Puzzle::resultImage( vector<LogEntry>& log){
|
|||||||
Rect ROI(ROI_X,ROI_Y , partWidth-separator, partHeight-separator); // j is the x coordinate not i!!
|
Rect ROI(ROI_X,ROI_Y , partWidth-separator, partHeight-separator); // j is the x coordinate not i!!
|
||||||
Mat temp; resize(img,temp, Size(ROI.width, ROI.height));
|
Mat temp; resize(img,temp, Size(ROI.width, ROI.height));
|
||||||
temp.copyTo(result(ROI));
|
temp.copyTo(result(ROI));
|
||||||
|
|
||||||
// imshow("result",result);
|
|
||||||
// waitKey(0);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
imshow("result",result);
|
imshow("result",result);
|
||||||
waitKey(0);
|
waitKey(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user