Commit 44e6c8e7 authored by Matt Clarkson's avatar Matt Clarkson

Issue #61: Fixup Apps that were relying on default args to stereo calibrations.

parent bc0cca91
......@@ -111,6 +111,7 @@ int main(int argc, char ** argv)
cv::Mat leftToRightTranslation;
cv::Matx21d result;
int flags = 0;
result = niftk::FullStereoCameraCalibration(model,
leftPoints,
......@@ -128,6 +129,7 @@ int main(int argc, char ** argv)
leftToRightTranslation,
essentialMatrix,
fundamentalMatrix,
flags,
false // optimise3D, could be command line arg.
);
......
......@@ -183,6 +183,7 @@ int main(int argc, char ** argv)
leftToRightTranslationVector,
essentialMatrix,
fundamentalMatrix,
flags,
optimise3D
);
......
......@@ -103,7 +103,7 @@ int main(int argc, char ** argv)
cv::Mat leftToRightTranslation;
cv::Matx21d result;
int flags = 0;
result = niftk::FullStereoCameraCalibration(model,
leftPoints,
rightPoints,
......@@ -120,6 +120,7 @@ int main(int argc, char ** argv)
leftToRightTranslation,
essentialMatrix,
fundamentalMatrix,
flags,
false // could be command line arg.
);
......@@ -231,6 +232,7 @@ int main(int argc, char ** argv)
leftToRightTranslation,
essentialMatrix,
fundamentalMatrix,
flags,
false // could be command line arg.
);
......
......@@ -131,6 +131,7 @@ int main(int argc, char ** argv)
cv::Mat leftToRightTranslation;
cv::Matx21d result;
int flags = 0;
result = niftk::FullStereoCameraCalibration(firstModel,
leftPoints,
......@@ -148,6 +149,7 @@ int main(int argc, char ** argv)
leftToRightTranslation,
essentialMatrix,
fundamentalMatrix,
flags,
false // optimise 3D, not needed here.
);
......@@ -285,6 +287,7 @@ int main(int argc, char ** argv)
leftToRightTranslation,
essentialMatrix,
fundamentalMatrix,
flags,
optimise3D
);
......@@ -362,6 +365,7 @@ int main(int argc, char ** argv)
leftToRightTranslation,
essentialMatrix,
fundamentalMatrix,
flags,
optimise3D
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment