Skip to content

Commit

Permalink
std::cout and not just cout
Browse files Browse the repository at this point in the history
  • Loading branch information
hn-88 authored Dec 15, 2023
1 parent bcf9083 commit 91cb7f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pan2fulldome.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,13 @@ cv::Mat equirectToFisheye(cv::Mat inputMat, int sky_threshold, int horizontal_ex
std::vector<cv::Point> my_poly = {cv::Point(outputw/2 - outputw/20,outputw), cv::Point(outputw/2 + outputw/20,outputw), cv::Point(outputw/2 + outputw/20,outputw/2), cv::Point(outputw/2 - outputw/20,outputw/2)};
cv::fillPoly(mask, my_poly, cv::Scalar::all(255));
} catch {
cout << "Exception occurred in fillPoly!" << endl;
std::cout << "Exception occurred in fillPoly!" << std::endl;
return dst;
}
try {
cv::inpaint(dst, mask, dst2, 3, cv::INPAINT_TELEA);
} catch {
cout << "Exception occurred in inpaint!" << endl;
std::cout << "Exception occurred in inpaint!" << std::endl;
return dst;
}
return dst2;
Expand Down

0 comments on commit 91cb7f0

Please sign in to comment.