This commit is contained in:
Davey Mathijssen
2017-11-14 11:18:37 +01:00
parent 08ea3ff8db
commit 9c669e3e58
+2 -1
View File
@@ -89,7 +89,8 @@ int main(int argc, char *argv[])
}
// Creeer een witte image
Mat contourImage = cvCreateImage(cvSize(binary16S.cols, binary16S.rows), IPL_DEPTH_8U, 3);
IplImage* iplimage = cvCreateImage(cvSize(binary16S.cols, binary16S.rows), IPL_DEPTH_8U, 3);
Mat contourImage = cvarrToMat(iplimage);
contourImage = Scalar(255, 255, 255);
// teken de contouren op de witte image