add support for kfactor
This commit is contained in:
parent
6fa7e9eb9d
commit
f2d5a905e8
3 changed files with 83 additions and 3 deletions
|
|
@ -25,6 +25,8 @@
|
|||
struct RemapedImage
|
||||
{
|
||||
cv::Mat image;
|
||||
cv::Mat angleX;
|
||||
cv::Mat angleY;
|
||||
cv::Point2i origin;
|
||||
};
|
||||
|
||||
|
|
@ -44,5 +46,7 @@ bool createRemapMap(const cv::Mat& image, RemapMap& out, const std::vector<Detec
|
|||
|
||||
RemapedImage applyRemap(const cv::Mat& image, const RemapMap &map);
|
||||
|
||||
void applyKfactor(cv::Mat& image ,const cv::Mat& angleMat, float kFactor);
|
||||
|
||||
cv::Mat stich(std::vector<RemapedImage>& images, bool seamAdjust = false);
|
||||
cv::Mat simpleStich(const std::vector<RemapedImage>& images);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue