stash
This commit is contained in:
@ -8,7 +8,7 @@ bool AbstractionLayer_ColorMatching::PreProcessing(coor mySize, const vector<Par
|
||||
InitialiseConstraintMatrixSize(mySize.col, mySize.row); //col row switched in this function
|
||||
|
||||
//**Get color for constraint matrix**//
|
||||
Mat puzzle = imread("puzzle1.jpg", IMREAD_COLOR); // Read the picture of the puzzle
|
||||
Mat puzzle = imread(PATH_FULL_PUZZLE, IMREAD_COLOR); // Read the picture of the puzzle
|
||||
if (puzzle.empty()) // Check for invalid input
|
||||
{
|
||||
cout << "Could not open or find the image" << std::endl;
|
||||
|
@ -16,7 +16,7 @@
|
||||
//#include <cstdlib>
|
||||
#include <cmath>
|
||||
|
||||
|
||||
#define PATH_FULL_PUZZLE "..\\..\\..\\puzzle_img_bb\\puzzle2.jpg"
|
||||
#ifdef _WIN32
|
||||
//#define PATH "..\\..\\..\\pieces\\%04d.jpg"
|
||||
#elif defined __unix__
|
||||
|
Reference in New Issue
Block a user