Skip to content

Commit

Permalink
c++ function takes dst as an argument and not return
Browse files Browse the repository at this point in the history
  • Loading branch information
hn-88 authored Dec 14, 2023
1 parent 28e3f31 commit d10227a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pan2fulldome.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ cv::Mat equirectToFisheye(cv::Mat inputMat, int sky_threshold, int horizontal_ex
// todo calculate the correct polynomial vertices
std::vector<cv::Point> my_poly = {cv::Point(150, 100), cv::Point(300, 150), cv::Point(300, 310), cv::Point(150, 300)};
cv::fillPoly(mask, my_poly, cv::Scalar::all(1));
dst = cv::inpaint(dst,mask,3,cv::INPAINT_TELEA);
cv::inpaint(dst, mask, dst, 3, cv::INPAINT_TELEA);
return dst;
}

Expand Down

0 comments on commit d10227a

Please sign in to comment.